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 2021-12-07 00:00:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account_invoice.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account_invoice"

Tue Dec  7 00:00:26 2021 rev:21 rq:936098 version:5.0.15

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_account_invoice/trytond_account_invoice.changes
  2021-06-19 23:05:22.111886774 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_account_invoice.new.31177/trytond_account_invoice.changes
       2021-12-07 00:02:13.071962691 +0100
@@ -1,0 +2,5 @@
+Mon Dec  6 17:49:46 UTC 2021 - Axel Braun <[email protected]>
+
+- Version 5.0.15 - Bugfix Release
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ trytond_account_invoice.spec ++++++
--- /var/tmp/diff_new_pack.up0dCK/_old  2021-12-07 00:02:13.815960060 +0100
+++ /var/tmp/diff_new_pack.up0dCK/_new  2021-12-07 00:02:13.815960060 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 5.0
 Name:           trytond_account_invoice
-Version:        %{majorver}.13
+Version:        %{majorver}.15
 Release:        0
 Summary:        The "account_invoice" module for the Tryton ERP system
 License:        GPL-3.0-only

++++++ trytond_account_invoice-5.0.13.tar.gz -> 
trytond_account_invoice-5.0.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/.hgtags 
new/trytond_account_invoice-5.0.15/.hgtags
--- old/trytond_account_invoice-5.0.13/.hgtags  2021-06-17 21:46:08.000000000 
+0200
+++ new/trytond_account_invoice-5.0.15/.hgtags  2021-11-05 00:19:06.000000000 
+0100
@@ -32,3 +32,5 @@
 c3b8f7b498322f31b1ef0cd27b49e5d8dddd460d 5.0.11
 74140573ebabe58ea7cc2d60e3df774151a2390f 5.0.12
 0095308fdbca029f00029661d35606d229244abe 5.0.13
+93d6eec8366a269d75cbc76302ed7d81016c7e7c 5.0.14
+ab7776ad35666d2af04a608002641beaa851a89f 5.0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/CHANGELOG 
new/trytond_account_invoice-5.0.15/CHANGELOG
--- old/trytond_account_invoice-5.0.13/CHANGELOG        2021-06-17 
21:46:07.000000000 +0200
+++ new/trytond_account_invoice-5.0.15/CHANGELOG        2021-11-05 
00:19:05.000000000 +0100
@@ -1,3 +1,9 @@
+Version 5.0.15 - 2021-11-04
+* Bug fixes (see mercurial logs for details)
+
+Version 5.0.14 - 2021-09-01
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.13 - 2021-06-17
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/PKG-INFO 
new/trytond_account_invoice-5.0.15/PKG-INFO
--- old/trytond_account_invoice-5.0.13/PKG-INFO 2021-06-17 21:46:10.430394400 
+0200
+++ new/trytond_account_invoice-5.0.15/PKG-INFO 2021-11-05 00:19:07.549763000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_account_invoice
-Version: 5.0.13
+Version: 5.0.15
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/account.py 
new/trytond_account_invoice-5.0.15/account.py
--- old/trytond_account_invoice-5.0.13/account.py       2018-10-13 
14:12:21.000000000 +0200
+++ new/trytond_account_invoice-5.0.15/account.py       2021-11-02 
19:07:25.000000000 +0100
@@ -220,6 +220,12 @@
         cls._check_modify_exclude.add('invoice_payment')
 
     @classmethod
+    def copy(cls, lines, default=None):
+        default = {} if default is None else default.copy()
+        default.setdefault('invoice_payments', None)
+        return super().copy(lines, default=default)
+
+    @classmethod
     def get_invoice_payment(cls, lines, name):
         pool = Pool()
         InvoicePaymentLine = pool.get('account.invoice-account.move.line')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/invoice.py 
new/trytond_account_invoice-5.0.15/invoice.py
--- old/trytond_account_invoice-5.0.13/invoice.py       2021-05-06 
23:57:27.000000000 +0200
+++ new/trytond_account_invoice-5.0.15/invoice.py       2021-08-25 
23:16:38.000000000 +0200
@@ -1130,6 +1130,7 @@
         default.setdefault('payment_lines', None)
         default.setdefault('invoice_date', None)
         default.setdefault('accounting_date', None)
+        default.setdefault('payment_term_date', None)
         default.setdefault('lines_to_pay', None)
         return super(Invoice, cls).copy(invoices, default=default)
 
@@ -2253,10 +2254,11 @@
         with Transaction().set_context(**context):
             tax = Tax(self.tax.id)
         self.description = tax.description
-        if self.base >= 0:
-            self.account = tax.invoice_account
-        else:
-            self.account = tax.credit_note_account
+        if self.base is not None:
+            if self.base >= 0:
+                self.account = tax.invoice_account
+            else:
+                self.account = tax.credit_note_account
 
     @fields.depends('tax', 'base', 'amount', 'manual', 'invoice',
         '_parent_invoice.currency')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.13/tryton.cfg 
new/trytond_account_invoice-5.0.15/tryton.cfg
--- old/trytond_account_invoice-5.0.13/tryton.cfg       2021-05-15 
23:08:17.000000000 +0200
+++ new/trytond_account_invoice-5.0.15/tryton.cfg       2021-09-01 
22:59:39.000000000 +0200
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.13
+version=5.0.15
 depends:
     account
     account_product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account_invoice-5.0.13/trytond_account_invoice.egg-info/PKG-INFO 
new/trytond_account_invoice-5.0.15/trytond_account_invoice.egg-info/PKG-INFO
--- 
old/trytond_account_invoice-5.0.13/trytond_account_invoice.egg-info/PKG-INFO    
    2021-06-17 21:46:09.000000000 +0200
+++ 
new/trytond_account_invoice-5.0.15/trytond_account_invoice.egg-info/PKG-INFO    
    2021-11-05 00:19:06.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond-account-invoice
-Version: 5.0.13
+Version: 5.0.15
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton

Reply via email to