Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2017-09-17 22:39:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_purchase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_purchase"

Sun Sep 17 22:39:10 2017 rev:3 rq:526514 version:4.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes        
2017-07-05 23:56:08.255678975 +0200
+++ /work/SRC/openSUSE:Factory/.trytond_purchase.new/trytond_purchase.changes   
2017-09-17 22:40:06.237679228 +0200
@@ -1,0 +2,5 @@
+Sat Sep  9 16:00:55 UTC 2017 - [email protected]
+
+- Version 4.2.2 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_purchase-4.2.1.tar.gz

New:
----
  trytond_purchase-4.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.x3Lbxv/_old  2017-09-17 22:40:06.857592069 +0200
+++ /var/tmp/diff_new_pack.x3Lbxv/_new  2017-09-17 22:40:06.861591507 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 4.2
 Name:           trytond_purchase
-Version:        %{majorver}.1
+Version:        %{majorver}.2
 Release:        0
 Summary:        The "purchase" module for the Tryton ERP system
 License:        GPL-3.0

++++++ trytond_purchase-4.2.1.tar.gz -> trytond_purchase-4.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/CHANGELOG 
new/trytond_purchase-4.2.2/CHANGELOG
--- old/trytond_purchase-4.2.1/CHANGELOG        2017-03-10 11:00:34.000000000 
+0100
+++ new/trytond_purchase-4.2.2/CHANGELOG        2017-09-04 22:39:20.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 4.2.2 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.1 - 2017-03-10
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/PKG-INFO 
new/trytond_purchase-4.2.2/PKG-INFO
--- old/trytond_purchase-4.2.1/PKG-INFO 2017-03-10 11:00:43.000000000 +0100
+++ new/trytond_purchase-4.2.2/PKG-INFO 2017-09-04 22:39:21.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 4.2.1
+Version: 4.2.2
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/purchase.py 
new/trytond_purchase-4.2.2/purchase.py
--- old/trytond_purchase-4.2.1/purchase.py      2016-11-28 18:39:03.000000000 
+0100
+++ new/trytond_purchase-4.2.2/purchase.py      2017-09-04 22:39:18.000000000 
+0200
@@ -446,7 +446,7 @@
 
     def get_tax_amount(self):
         taxes = self._get_taxes().itervalues()
-        return sum(tax['amount'] for tax in taxes)
+        return sum((tax['amount'] for tax in taxes), Decimal(0))
 
     @classmethod
     def get_amount(cls, purchases, names):
@@ -818,7 +818,10 @@
                 purchase.create_return_shipment(return_moves)
             purchase.set_shipment_state()
             if purchase.is_done():
-                done.append(purchase)
+                if purchase.state != 'done':
+                    if purchase.state == 'confirmed':
+                        process.append(purchase)
+                    done.append(purchase)
             elif purchase.state != 'processing':
                 process.append(purchase)
         if process:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/setup.cfg 
new/trytond_purchase-4.2.2/setup.cfg
--- old/trytond_purchase-4.2.1/setup.cfg        2017-03-10 11:00:43.000000000 
+0100
+++ new/trytond_purchase-4.2.2/setup.cfg        2017-09-04 22:39:21.000000000 
+0200
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-4.2.1/tryton.cfg 
new/trytond_purchase-4.2.2/tryton.cfg
--- old/trytond_purchase-4.2.1/tryton.cfg       2016-11-28 18:42:11.000000000 
+0100
+++ new/trytond_purchase-4.2.2/tryton.cfg       2017-03-10 11:01:38.000000000 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.1
+version=4.2.2
 depends:
     account
     account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-4.2.1/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-4.2.1/trytond_purchase.egg-info/PKG-INFO       
2017-03-10 11:00:42.000000000 +0100
+++ new/trytond_purchase-4.2.2/trytond_purchase.egg-info/PKG-INFO       
2017-09-04 22:39:21.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase
-Version: 4.2.1
+Version: 4.2.2
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to