Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_account_invoice for 
openSUSE:Factory checked in at 2022-08-05 19:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account_invoice.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account_invoice"

Fri Aug  5 19:52:03 2022 rev:24 rq:993357 version:6.0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_account_invoice/trytond_account_invoice.changes
  2022-04-20 16:57:49.930651192 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_account_invoice.new.1521/trytond_account_invoice.changes
        2022-08-05 19:52:49.753738922 +0200
@@ -1,0 +2,5 @@
+Thu Aug  4 13:28:42 UTC 2022 - Axel Braun <[email protected]>
+
+- Version 6.0.7 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account_invoice-6.0.6.tar.gz
  trytond_account_invoice-6.0.6.tar.gz.asc

New:
----
  trytond_account_invoice-6.0.7.tar.gz
  trytond_account_invoice-6.0.7.tar.gz.asc

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

Other differences:
------------------
++++++ trytond_account_invoice.spec ++++++
--- /var/tmp/diff_new_pack.2YoT6h/_old  2022-08-05 19:52:50.261740234 +0200
+++ /var/tmp/diff_new_pack.2YoT6h/_new  2022-08-05 19:52:50.265740244 +0200
@@ -19,7 +19,7 @@
 
 %define majorver 6.0
 Name:           trytond_account_invoice
-Version:        %{majorver}.6
+Version:        %{majorver}.7
 Release:        0
 Summary:        The "account_invoice" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_account_invoice-6.0.6.tar.gz -> 
trytond_account_invoice-6.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.6/.hgtags 
new/trytond_account_invoice-6.0.7/.hgtags
--- old/trytond_account_invoice-6.0.6/.hgtags   2022-04-15 23:36:42.000000000 
+0200
+++ new/trytond_account_invoice-6.0.7/.hgtags   2022-08-04 00:04:16.000000000 
+0200
@@ -30,3 +30,4 @@
 89ce313375799833536883c4f040c32db1a18d31 6.0.4
 71c2f573c0fc79283e2422fdac52c7f770b2b955 6.0.5
 d782a84df5bddfe39aba385b469c581217684e28 6.0.6
+73e4973f6cb1d12e3ed88a6b6da3e909365a79ae 6.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.6/CHANGELOG 
new/trytond_account_invoice-6.0.7/CHANGELOG
--- old/trytond_account_invoice-6.0.6/CHANGELOG 2022-04-15 23:36:42.000000000 
+0200
+++ new/trytond_account_invoice-6.0.7/CHANGELOG 2022-08-04 00:04:16.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 6.0.7 - 2022-08-03
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.6 - 2022-04-15
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.6/PKG-INFO 
new/trytond_account_invoice-6.0.7/PKG-INFO
--- old/trytond_account_invoice-6.0.6/PKG-INFO  2022-04-15 23:36:45.350148400 
+0200
+++ new/trytond_account_invoice-6.0.7/PKG-INFO  2022-08-04 00:04:20.601637000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond_account_invoice
-Version: 6.0.6
+Version: 6.0.7
 Summary: Tryton module for invoicing
 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/account_invoice
 Keywords: tryton account invoice
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -61,5 +60,3 @@
 It allows the creation of customer and supplier invoices, and can handle the
 payment terms related to the invoices and show when they have been paid.
 
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.6/invoice.py 
new/trytond_account_invoice-6.0.7/invoice.py
--- old/trytond_account_invoice-6.0.6/invoice.py        2022-04-14 
23:49:25.000000000 +0200
+++ new/trytond_account_invoice-6.0.7/invoice.py        2022-07-17 
00:02:38.000000000 +0200
@@ -2158,19 +2158,19 @@
         if type_ == 'in':
             with Transaction().set_context(date=date):
                 self.account = self.product.account_expense_used
-            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)
+                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)
+                    taxes.update(tax_ids)
             self.taxes = taxes
 
             if self.company and self.company.purchase_taxes_expense:
@@ -2181,19 +2181,19 @@
         else:
             with Transaction().set_context(date=date):
                 self.account = self.product.account_revenue_used
-            taxes = []
+            taxes = set()
             pattern = self._get_tax_rule_pattern()
             for tax in self.product.customer_taxes_used:
                 if party and party.customer_tax_rule:
                     tax_ids = party.customer_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.customer_tax_rule:
                 tax_ids = party.customer_tax_rule.apply(None, pattern)
                 if tax_ids:
-                    taxes.extend(tax_ids)
+                    taxes.update(tax_ids)
             self.taxes = taxes
 
         category = self.product.default_uom.category
@@ -2213,7 +2213,7 @@
     def on_change_account(self):
         if self.product:
             return
-        taxes = []
+        taxes = set()
         party = None
         if self.invoice and self.invoice.party:
             party = self.invoice.party
@@ -2238,13 +2238,13 @@
                 if tax_rule:
                     tax_ids = tax_rule.apply(tax, pattern)
                     if tax_ids:
-                        taxes.extend(tax_ids)
+                        taxes.update(tax_ids)
                     continue
-                taxes.append(tax)
+                taxes.add(tax.id)
             if tax_rule:
                 tax_ids = tax_rule.apply(None, pattern)
                 if tax_ids:
-                    taxes.extend(tax_ids)
+                    taxes.update(tax_ids)
         self.taxes = taxes
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.6/tryton.cfg 
new/trytond_account_invoice-6.0.7/tryton.cfg
--- old/trytond_account_invoice-6.0.6/tryton.cfg        2022-02-17 
00:06:59.000000000 +0100
+++ new/trytond_account_invoice-6.0.7/tryton.cfg        2022-04-15 
23:36:57.000000000 +0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.6
+version=6.0.7
 depends:
     account
     account_product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/PKG-INFO 
new/trytond_account_invoice-6.0.7/trytond_account_invoice.egg-info/PKG-INFO
--- old/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/PKG-INFO 
2022-04-15 23:36:44.000000000 +0200
+++ new/trytond_account_invoice-6.0.7/trytond_account_invoice.egg-info/PKG-INFO 
2022-08-04 00:04:19.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: trytond-account-invoice
-Version: 6.0.6
+Version: 6.0.7
 Summary: Tryton module for invoicing
 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/account_invoice
 Keywords: tryton account invoice
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -61,5 +60,3 @@
 It allows the creation of customer and supplier invoices, and can handle the
 payment terms related to the invoices and show when they have been paid.
 
-
-

Reply via email to