[tryton-debian-vcs] tryton-modules-account-tax-rule-country branch debian updated. debian/4.0.1-1-3-g672f647

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:03:46 UTC 2016


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-tax-rule-country.git;a=commitdiff;h=debian/4.0.1-1-3-g672f647

commit 672f647828683a872bf9aa46c9dfdc7ebb6bd241
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:00:36 2016 +0200

    Releasing debian version 4.0.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 3eeaca6..0cd6024 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-account-tax-rule-country (4.0.2-1) unstable; urgency=medium
+
+  * Updating to Standards-Version: 3.9.8, no changes needed.
+  * Merging upstream version 4.0.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 11 Jul 2016 19:00:36 +0200
+
 tryton-modules-account-tax-rule-country (4.0.1-1) unstable; urgency=medium
 
   * Updating signing-key.asc with the actual upstream maintainer keys.
commit ce98ae3cd001b4c81e7c2890f6fd5720de82d328
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:00:36 2016 +0200

    Merging upstream version 4.0.2.

diff --git a/CHANGELOG b/CHANGELOG
index f8e909e..d13ef39 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.1 - 2016-05-11
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 89a1ea4..a8da479 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_tax_rule_country
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to add countries on tax rules
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index f1328b4..85f91fc 100644
--- a/sale.py
+++ b/sale.py
@@ -32,7 +32,7 @@ class SaleLine:
         pattern = super(SaleLine, self)._get_tax_rule_pattern()
 
         from_country, to_country = None, None
-        if self.id < 0:
+        if self.id is None or self.id < 0:
             warehouse = self.get_warehouse('warehouse')
             if warehouse:
                 warehouse = Location(warehouse)
diff --git a/tryton.cfg b/tryton.cfg
index bad4ca8..04db78f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     account
     country
diff --git a/trytond_account_tax_rule_country.egg-info/PKG-INFO b/trytond_account_tax_rule_country.egg-info/PKG-INFO
index 76a8225..e613d7f 100644
--- a/trytond_account_tax_rule_country.egg-info/PKG-INFO
+++ b/trytond_account_tax_rule_country.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-tax-rule-country
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module to add countries on tax rules
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-tax-rule-country



More information about the tryton-debian-vcs mailing list