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-04-20 16:57:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account_invoice.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account_invoice"

Wed Apr 20 16:57:21 2022 rev:23 rq:971014 version:6.0.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_account_invoice/trytond_account_invoice.changes
  2022-03-07 17:48:42.507089219 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_account_invoice.new.1941/trytond_account_invoice.changes
        2022-04-20 16:57:49.930651192 +0200
@@ -1,0 +2,5 @@
+Mon Apr 18 19:24:46 UTC 2022 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.6 - Bugfix Release
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ trytond_account_invoice.spec ++++++
--- /var/tmp/diff_new_pack.QPEgQG/_old  2022-04-20 16:57:50.386651618 +0200
+++ /var/tmp/diff_new_pack.QPEgQG/_new  2022-04-20 16:57:50.390651622 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package trytond_account_invoice
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2017-2021 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define majorver 6.0
 Name:           trytond_account_invoice
-Version:        %{majorver}.5
+Version:        %{majorver}.6
 Release:        0
 Summary:        The "account_invoice" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_account_invoice-6.0.5.tar.gz -> 
trytond_account_invoice-6.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.5/.hgtags 
new/trytond_account_invoice-6.0.6/.hgtags
--- old/trytond_account_invoice-6.0.5/.hgtags   2022-02-17 00:06:48.000000000 
+0100
+++ new/trytond_account_invoice-6.0.6/.hgtags   2022-04-15 23:36:42.000000000 
+0200
@@ -29,3 +29,4 @@
 1670e3248438910f0f437a7212482080d7df767f 6.0.3
 89ce313375799833536883c4f040c32db1a18d31 6.0.4
 71c2f573c0fc79283e2422fdac52c7f770b2b955 6.0.5
+d782a84df5bddfe39aba385b469c581217684e28 6.0.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.5/CHANGELOG 
new/trytond_account_invoice-6.0.6/CHANGELOG
--- old/trytond_account_invoice-6.0.5/CHANGELOG 2022-02-17 00:06:48.000000000 
+0100
+++ new/trytond_account_invoice-6.0.6/CHANGELOG 2022-04-15 23:36:42.000000000 
+0200
@@ -1,3 +1,6 @@
+Version 6.0.6 - 2022-04-15
+* Bug fixes (see mercurial logs for details)
+
 Version 6.0.5 - 2022-02-16
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.5/PKG-INFO 
new/trytond_account_invoice-6.0.6/PKG-INFO
--- old/trytond_account_invoice-6.0.5/PKG-INFO  2022-02-17 00:06:50.224800000 
+0100
+++ new/trytond_account_invoice-6.0.6/PKG-INFO  2022-04-15 23:36:45.350148400 
+0200
@@ -1,25 +1,16 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: trytond_account_invoice
-Version: 6.0.5
+Version: 6.0.6
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
 Author: Tryton
 Author-email: b...@tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
 Project-URL: Bug Tracker, https://bugs.tryton.org/
 Project-URL: Documentation, 
https://docs.tryton.org/projects/modules-account-invoice/
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/account_invoice
-Description: ######################
-        Account Invoice Module
-        ######################
-        
-        The *Account Invoice Module* adds the concept of invoicing to Tryton.
-        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.
-        
-        
 Keywords: tryton account invoice
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -60,3 +51,15 @@
 Classifier: Topic :: Office/Business
 Classifier: Topic :: Office/Business :: Financial :: Accounting
 Requires-Python: >=3.6
+License-File: LICENSE
+
+######################
+Account Invoice Module
+######################
+
+The *Account Invoice Module* adds the concept of invoicing to Tryton.
+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.5/invoice.py 
new/trytond_account_invoice-6.0.6/invoice.py
--- old/trytond_account_invoice-6.0.5/invoice.py        2022-02-07 
23:27:15.000000000 +0100
+++ new/trytond_account_invoice-6.0.6/invoice.py        2022-04-14 
23:49:25.000000000 +0200
@@ -1571,7 +1571,7 @@
         to_save = []
         for invoice in invoices:
             if invoice.move or invoice.number:
-                if invoice.move.state == 'draft':
+                if invoice.move and invoice.move.state == 'draft':
                     delete_moves.append(invoice.move)
                 elif not invoice.cancel_move:
                     if (invoice.type == 'out'
@@ -1580,9 +1580,10 @@
                             gettext('account_invoice'
                                 '.msg_invoice_customer_cancel_move',
                                 invoice=invoice.rec_name))
-                    invoice.cancel_move = invoice.move.cancel()
-                    to_save.append(invoice)
-                    cancel_moves.append(invoice.cancel_move)
+                    if invoice.move:
+                        invoice.cancel_move = invoice.move.cancel()
+                        to_save.append(invoice)
+                        cancel_moves.append(invoice.cancel_move)
         if cancel_moves:
             Move.save(cancel_moves)
         cls.save(to_save)
@@ -2587,8 +2588,10 @@
     @property
     def _key(self):
         # Same as _TaxKey
-        tax_id = self.tax.id if self.tax else -1
-        return (self.account.id, tax_id, self.base >= 0)
+        tax_id = self.tax.id if getattr(self, 'tax', None) else -1
+        account_id = (
+            self.account.id if getattr(self, 'account', None) else None)
+        return (account_id, tax_id, (getattr(self, 'base', 0) or 0) >= 0)
 
     @classmethod
     def check_modify(cls, taxes):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-6.0.5/tryton.cfg 
new/trytond_account_invoice-6.0.6/tryton.cfg
--- old/trytond_account_invoice-6.0.5/tryton.cfg        2021-11-05 
00:18:37.000000000 +0100
+++ new/trytond_account_invoice-6.0.6/tryton.cfg        2022-02-17 
00:06:59.000000000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.5
+version=6.0.6
 depends:
     account
     account_product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account_invoice-6.0.5/trytond_account_invoice.egg-info/PKG-INFO 
new/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/PKG-INFO
--- old/trytond_account_invoice-6.0.5/trytond_account_invoice.egg-info/PKG-INFO 
2022-02-17 00:06:49.000000000 +0100
+++ new/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/PKG-INFO 
2022-04-15 23:36:44.000000000 +0200
@@ -1,25 +1,16 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: trytond-account-invoice
-Version: 6.0.5
+Version: 6.0.6
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
+Download-URL: http://downloads.tryton.org/6.0/
 Author: Tryton
 Author-email: b...@tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/6.0/
 Project-URL: Bug Tracker, https://bugs.tryton.org/
 Project-URL: Documentation, 
https://docs.tryton.org/projects/modules-account-invoice/
 Project-URL: Forum, https://www.tryton.org/forum
 Project-URL: Source Code, https://hg.tryton.org/modules/account_invoice
-Description: ######################
-        Account Invoice Module
-        ######################
-        
-        The *Account Invoice Module* adds the concept of invoicing to Tryton.
-        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.
-        
-        
 Keywords: tryton account invoice
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -60,3 +51,15 @@
 Classifier: Topic :: Office/Business
 Classifier: Topic :: Office/Business :: Financial :: Accounting
 Requires-Python: >=3.6
+License-File: LICENSE
+
+######################
+Account Invoice Module
+######################
+
+The *Account Invoice Module* adds the concept of invoicing to Tryton.
+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.5/trytond_account_invoice.egg-info/entry_points.txt
 
new/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/entry_points.txt
--- 
old/trytond_account_invoice-6.0.5/trytond_account_invoice.egg-info/entry_points.txt
 2022-02-17 00:06:49.000000000 +0100
+++ 
new/trytond_account_invoice-6.0.6/trytond_account_invoice.egg-info/entry_points.txt
 2022-04-15 23:36:44.000000000 +0200
@@ -1,4 +1,2 @@
-
-    [trytond.modules]
-    account_invoice = trytond.modules.account_invoice
-    
\ No newline at end of file
+[trytond.modules]
+account_invoice = trytond.modules.account_invoice

Reply via email to