[tryton-debian-vcs] tryton-modules-sale branch debian-stretch-3.6 updated. debian/3.6.3-1-4-g791b469

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.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale.git;a=commitdiff;h=debian/3.6.3-1-4-g791b469

commit 791b46948f9ae02c507c6ac13e6f8621903edde7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:55:44 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index ee37e33..3539073 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-sale (3.6.4-1) unstable; urgency=medium
+
+  * Add the actual upstream maintainer key to signing-key.asc.
+  * Merging upstream version 3.6.4.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 05 Sep 2017 13:55:43 +0200
+
 tryton-modules-sale (3.6.3-1) unstable; urgency=medium
 
   * Merging upstream version 3.6.3.
commit 81b9e7e142ceb4d5adf0b076a25f71eb5bf092e8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:55:43 2017 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index be43cf3..64e4429 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2008-2016 Cédric Krier
+Copyright: 2008-2017 Cédric Krier
            2008-2013 Bertrand Chenal
-           2008-2016 B2CK SPRL
+           2008-2017 B2CK SPRL
            2004-2008 Tiny SPRL
 License: GPL-3+
 
commit f86145dffc8a2c8a95fe8d918cd35355dd3b286f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:55:43 2017 +0200

    Merging upstream version 3.6.4.

diff --git a/CHANGELOG b/CHANGELOG
index 71e41d3..653983e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.4 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.3 - 2016-07-05
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 48f96af..dba4452 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2016 B2CK SPRL.
+Copyright (C) 2008-2017 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index aeac568..f2bc64c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale
-Version: 3.6.3
+Version: 3.6.4
 Summary: Tryton module for sale
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index 40b7580..78d09db 100644
--- a/sale.py
+++ b/sale.py
@@ -456,7 +456,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):
@@ -925,6 +926,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/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tryton.cfg b/tryton.cfg
index 8ba121a..1be7997 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.3
+version=3.6.4
 depends:
     account
     account_invoice
diff --git a/trytond_sale.egg-info/PKG-INFO b/trytond_sale.egg-info/PKG-INFO
index d8310d1..7a69c65 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.6.3
+Version: 3.6.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