Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_purchase for 
openSUSE:Factory checked in at 2023-05-23 14:55:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_purchase.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_purchase"

Tue May 23 14:55:24 2023 rev:25 rq:1088641 version:6.0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes        
2023-03-12 19:48:00.947525088 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.1533/trytond_purchase.changes  
    2023-05-23 14:55:46.082917877 +0200
@@ -1,0 +2,5 @@
+Sat May 20 17:02:13 UTC 2023 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.11 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_purchase-6.0.10.tar.gz
  trytond_purchase-6.0.10.tar.gz.asc

New:
----
  trytond_purchase-6.0.11.tar.gz
  trytond_purchase-6.0.11.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.HgO8El/_old  2023-05-23 14:55:46.642921191 +0200
+++ /var/tmp/diff_new_pack.HgO8El/_new  2023-05-23 14:55:46.646921214 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 6.0
 Name:           trytond_purchase
-Version:        %{majorver}.10
+Version:        %{majorver}.11
 Release:        0
 Summary:        The "purchase" module for the Tryton ERP system
 License:        GPL-3.0

++++++ trytond_purchase-6.0.10.tar.gz -> trytond_purchase-6.0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.10/CHANGELOG 
new/trytond_purchase-6.0.11/CHANGELOG
--- old/trytond_purchase-6.0.10/CHANGELOG       2023-03-04 12:46:12.000000000 
+0100
+++ new/trytond_purchase-6.0.11/CHANGELOG       2023-05-03 18:51:54.000000000 
+0200
@@ -1,4 +1,9 @@
 
+Version 6.0.11 - 2023-05-03
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.10 - 2023-03-04
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.10/PKG-INFO 
new/trytond_purchase-6.0.11/PKG-INFO
--- old/trytond_purchase-6.0.10/PKG-INFO        2023-03-04 12:46:18.689637000 
+0100
+++ new/trytond_purchase-6.0.11/PKG-INFO        2023-05-03 18:51:58.268422600 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_purchase
-Version: 6.0.10
+Version: 6.0.11
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.10/purchase.py 
new/trytond_purchase-6.0.11/purchase.py
--- old/trytond_purchase-6.0.10/purchase.py     2023-02-27 18:51:25.000000000 
+0100
+++ new/trytond_purchase-6.0.11/purchase.py     2023-04-22 23:25:45.000000000 
+0200
@@ -1594,15 +1594,13 @@
                 qty = Uom.compute_qty(move.uom, move.quantity, self.unit)
                 # Test only against from_location
                 # as it is what matters for purchase
-                src_type = self.from_location.type
+                src_type = 'supplier'
                 if (move.from_location.type == src_type
                         and move.to_location.type != src_type):
                     quantity += qty
                 elif (move.to_location.type == src_type
                         and move.from_location.type != src_type):
                     quantity -= qty
-            if self.quantity < 0:
-                quantity *= -1
             return quantity
 
     def _get_invoiced_quantity(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.10/tryton.cfg 
new/trytond_purchase-6.0.11/tryton.cfg
--- old/trytond_purchase-6.0.10/tryton.cfg      2022-12-19 13:03:46.000000000 
+0100
+++ new/trytond_purchase-6.0.11/tryton.cfg      2023-03-04 12:46:30.000000000 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.10
+version=6.0.11
 depends:
     account
     account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-6.0.10/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-6.0.11/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-6.0.10/trytond_purchase.egg-info/PKG-INFO      
2023-03-04 12:46:17.000000000 +0100
+++ new/trytond_purchase-6.0.11/trytond_purchase.egg-info/PKG-INFO      
2023-05-03 18:51:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-purchase
-Version: 6.0.10
+Version: 6.0.11
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to