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 2022-08-05 19:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_purchase (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_purchase.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_purchase"

Fri Aug  5 19:52:03 2022 rev:22 rq:993358 version:6.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_purchase/trytond_purchase.changes        
2022-06-12 17:43:15.922495559 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_purchase.new.1521/trytond_purchase.changes  
    2022-08-05 19:52:50.621741164 +0200
@@ -1,0 +2,5 @@
+Thu Aug  4 13:28:37 UTC 2022 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.8 - Bugfix Release
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ trytond_purchase.spec ++++++
--- /var/tmp/diff_new_pack.EaSxB3/_old  2022-08-05 19:52:51.121742454 +0200
+++ /var/tmp/diff_new_pack.EaSxB3/_new  2022-08-05 19:52:51.129742476 +0200
@@ -17,7 +17,7 @@
 
 %define majorver 6.0
 Name:           trytond_purchase
-Version:        %{majorver}.7
+Version:        %{majorver}.8
 Release:        0
 Summary:        The "purchase" module for the Tryton ERP system
 License:        GPL-3.0

++++++ trytond_purchase-6.0.7.tar.gz -> trytond_purchase-6.0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/.hgtags 
new/trytond_purchase-6.0.8/.hgtags
--- old/trytond_purchase-6.0.7/.hgtags  2022-06-03 19:21:10.000000000 +0200
+++ new/trytond_purchase-6.0.8/.hgtags  2022-08-03 23:52:46.000000000 +0200
@@ -31,3 +31,4 @@
 6722bfa5576291e9dcdfa66878027a9799a0b9a2 6.0.5
 c517d4067ca5cef9b6eb07e6de4e466eae69b95c 6.0.6
 a0051c17a0717756b5607b9b0bf4947bc590c924 6.0.7
+71321aef73ceef792e178a8071ae6605615b7cfe 6.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/CHANGELOG 
new/trytond_purchase-6.0.8/CHANGELOG
--- old/trytond_purchase-6.0.7/CHANGELOG        2022-06-03 19:21:09.000000000 
+0200
+++ new/trytond_purchase-6.0.8/CHANGELOG        2022-08-03 23:52:45.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 6.0.8 - 2022-08-03
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.7 - 2022-06-03
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/PKG-INFO 
new/trytond_purchase-6.0.8/PKG-INFO
--- old/trytond_purchase-6.0.7/PKG-INFO 2022-06-03 19:21:14.170777300 +0200
+++ new/trytond_purchase-6.0.8/PKG-INFO 2022-08-03 23:52:51.862031700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_purchase
-Version: 6.0.7
+Version: 6.0.8
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
@@ -12,7 +12,6 @@
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/purchase
 Keywords: tryton purchase
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -64,5 +63,3 @@
 It makes it easy to create supplier shipments for the purchase, and includes
 the ability to automatically create related supplier invoices.
 
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/product.py 
new/trytond_purchase-6.0.8/product.py
--- old/trytond_purchase-6.0.7/product.py       2021-11-02 18:42:28.000000000 
+0100
+++ new/trytond_purchase-6.0.8/product.py       2022-07-17 19:42:00.000000000 
+0200
@@ -298,11 +298,6 @@
         fields.Many2One('product.uom', "UOM"), 'on_change_with_uom')
 
     @classmethod
-    def __setup__(cls):
-        super().__setup__()
-        cls.__access__.update(['product', 'template'])
-
-    @classmethod
     def __register__(cls, module_name):
         transaction = Transaction()
         cursor = transaction.connection.cursor()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/purchase.py 
new/trytond_purchase-6.0.8/purchase.py
--- old/trytond_purchase-6.0.7/purchase.py      2022-06-02 13:37:41.000000000 
+0200
+++ new/trytond_purchase-6.0.8/purchase.py      2022-07-17 00:02:38.000000000 
+0200
@@ -1332,20 +1332,20 @@
 
     @fields.depends('product', methods=['_get_tax_rule_pattern'])
     def compute_taxes(self, party):
-        taxes = []
+        taxes = set()
         pattern = self._get_tax_rule_pattern()
         for tax in self.product.supplier_taxes_used:
             if party and party.supplier_tax_rule:
                 tax_ids = party.supplier_tax_rule.apply(tax, pattern)
                 if tax_ids:
-                    taxes.extend(tax_ids)
+                    taxes.update(tax_ids)
                 continue
-            taxes.append(tax.id)
+            taxes.add(tax.id)
         if party and party.supplier_tax_rule:
             tax_ids = party.supplier_tax_rule.apply(None, pattern)
             if tax_ids:
-                taxes.extend(tax_ids)
-        return taxes
+                taxes.update(tax_ids)
+        return list(taxes)
 
     @fields.depends('product', 'quantity',
         methods=['_get_context_purchase_price'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_purchase-6.0.7/tryton.cfg 
new/trytond_purchase-6.0.8/tryton.cfg
--- old/trytond_purchase-6.0.7/tryton.cfg       2022-03-01 19:45:16.000000000 
+0100
+++ new/trytond_purchase-6.0.8/tryton.cfg       2022-06-03 19:21:29.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.7
+version=6.0.8
 depends:
     account
     account_invoice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_purchase-6.0.7/trytond_purchase.egg-info/PKG-INFO 
new/trytond_purchase-6.0.8/trytond_purchase.egg-info/PKG-INFO
--- old/trytond_purchase-6.0.7/trytond_purchase.egg-info/PKG-INFO       
2022-06-03 19:21:12.000000000 +0200
+++ new/trytond_purchase-6.0.8/trytond_purchase.egg-info/PKG-INFO       
2022-08-03 23:52:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-purchase
-Version: 6.0.7
+Version: 6.0.8
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
@@ -12,7 +12,6 @@
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/purchase
 Keywords: tryton purchase
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -64,5 +63,3 @@
 It makes it easy to create supplier shipments for the purchase, and includes
 the ability to automatically create related supplier invoices.
 
-
-

Reply via email to