[tryton-debian-vcs] tryton-modules-sale branch debian-stretch-3.8 updated. debian/3.8.3-1-2-ge534489

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:24:00 UTC 2017


The following commit has been merged in the debian-stretch-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale.git;a=commitdiff;h=debian/3.8.3-1-2-ge534489

commit e534489126f38b1d30c67106cca5df446c344c54
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:57:27 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index b6a7324..4404a41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-sale (3.8.4-1) unstable; urgency=medium
+
+  * Merging upstream version 3.8.4.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 05 Sep 2017 13:57:27 +0200
+
 tryton-modules-sale (3.8.3-1) unstable; urgency=medium
 
   * Add the actual upstream maintainer key to signing-key.asc.
commit 8f93bdec8ae8638ac6ee705450cbf91f26299d12
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:57:27 2017 +0200

    Merging upstream version 3.8.4.

diff --git a/CHANGELOG b/CHANGELOG
index 2d602e9..1298bf5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.4 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.3 - 2017-06-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 242dc11..fcc3345 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale
-Version: 3.8.3
+Version: 3.8.4
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index b0b932d..8198a98 100644
--- a/sale.py
+++ b/sale.py
@@ -475,7 +475,8 @@ class Sale(Workflow, ModelSQL, ModelView, TaxableMixin):
         return 'invoice'
 
     def get_tax_amount(self):
-        return sum(v['amount'] for v in self._get_taxes().itervalues())
+        return sum(
+            (v['amount'] for v in self._get_taxes().itervalues()), Decimal(0))
 
     @classmethod
     def get_amount(cls, sales, names):
@@ -943,6 +944,8 @@ class Sale(Workflow, ModelSQL, ModelView, TaxableMixin):
             sale.set_shipment_state()
             if sale.is_done():
                 if sale.state != 'done':
+                    if sale.state == 'confirmed':
+                        process.append(sale)
                     done.append(sale)
             elif sale.state != 'processing':
                 process.append(sale)
diff --git a/tryton.cfg b/tryton.cfg
index 9f850d7..6a5a102 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.3
+version=3.8.4
 depends:
     account
     account_invoice
diff --git a/trytond_sale.egg-info/PKG-INFO b/trytond_sale.egg-info/PKG-INFO
index f02c364..7bd081e 100644
--- a/trytond_sale.egg-info/PKG-INFO
+++ b/trytond_sale.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale
-Version: 3.8.3
+Version: 3.8.4
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale



More information about the tryton-debian-vcs mailing list