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

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 upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-tax-rule-country.git;a=commitdiff;h=upstream/4.0.1-1-g18b6022

commit 18b60229eab636a4b9b2ed9f071e451a80d5480e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:00:35 2016 +0200

    Adding upstream version 4.0.2.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

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