Hello community,

here is the log from the commit of package trytond_account_invoice for 
openSUSE:Factory checked in at 2020-02-10 21:53:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account_invoice (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account_invoice.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account_invoice"

Mon Feb 10 21:53:14 2020 rev:12 rq:772531 version:5.0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/trytond_account_invoice/trytond_account_invoice.changes
  2020-01-10 17:51:31.938126766 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_account_invoice.new.26092/trytond_account_invoice.changes
       2020-02-10 21:53:20.750188418 +0100
@@ -1,0 +2,5 @@
+Sun Feb  2 18:40:13 UTC 2020 - Axel Braun <axel.br...@gmx.de>
+
+- Version 5.0.7 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account_invoice-5.0.6.tar.gz

New:
----
  trytond_account_invoice-5.0.7.tar.gz

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

Other differences:
------------------
++++++ trytond_account_invoice.spec ++++++
--- /var/tmp/diff_new_pack.JPhiZj/_old  2020-02-10 21:53:21.198188666 +0100
+++ /var/tmp/diff_new_pack.JPhiZj/_new  2020-02-10 21:53:21.198188666 +0100
@@ -19,7 +19,7 @@
 
 %define majorver 5.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-5.0.6.tar.gz -> 
trytond_account_invoice-5.0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.6/.hgtags 
new/trytond_account_invoice-5.0.7/.hgtags
--- old/trytond_account_invoice-5.0.6/.hgtags   2020-01-09 22:19:48.000000000 
+0100
+++ new/trytond_account_invoice-5.0.7/.hgtags   2020-02-02 17:23:06.000000000 
+0100
@@ -25,3 +25,4 @@
 f1256cd05b1e923ac38b52dd6b265b32c6ca0853 5.0.4
 ef448eae43e02531c7cc7cff78ceab47baa6084e 5.0.5
 44da6e17f4ca288e9a786fa94515139a8f937b55 5.0.6
+fa51c65500d78ceb8b1e3536b24c163b7d811e00 5.0.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.6/CHANGELOG 
new/trytond_account_invoice-5.0.7/CHANGELOG
--- old/trytond_account_invoice-5.0.6/CHANGELOG 2020-01-09 22:19:48.000000000 
+0100
+++ new/trytond_account_invoice-5.0.7/CHANGELOG 2020-02-02 17:23:06.000000000 
+0100
@@ -1,3 +1,6 @@
+Version 5.0.7 - 2020-02-02
+* Bug fixes (see mercurial logs for details)
+
 Version 5.0.6 - 2020-01-09
 * Bug fixes (see mercurial logs for details)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.6/PKG-INFO 
new/trytond_account_invoice-5.0.7/PKG-INFO
--- old/trytond_account_invoice-5.0.6/PKG-INFO  2020-01-09 22:19:52.000000000 
+0100
+++ new/trytond_account_invoice-5.0.7/PKG-INFO  2020-02-02 17:23:08.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond_account_invoice
-Version: 5.0.6
+Version: 5.0.7
 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.6/payment_term.py 
new/trytond_account_invoice-5.0.7/payment_term.py
--- old/trytond_account_invoice-5.0.6/payment_term.py   2018-10-13 
14:12:21.000000000 +0200
+++ new/trytond_account_invoice-5.0.7/payment_term.py   2020-01-27 
19:27:55.000000000 +0100
@@ -247,11 +247,10 @@
                         'line': line.rec_name,
                         'term': line.payment.rec_name,
                         })
-            ratio = line.ratio
-            divisor = line.divisor
-            line.on_change_ratio()
-            line.on_change_divisor()
-            if (line.divisor != divisor) or (line.ratio != ratio):
+            if (line.ratio != round(
+                        1 / line.divisor, cls.ratio.digits[1])
+                    and line.divisor != round(
+                        1 / line.ratio, cls.divisor.digits[1])):
                 cls.raise_user_error('invalid_ratio_and_divisor', {
                         'line': line.rec_name,
                         'term': line.payment.rec_name,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account_invoice-5.0.6/tryton.cfg 
new/trytond_account_invoice-5.0.7/tryton.cfg
--- old/trytond_account_invoice-5.0.6/tryton.cfg        2019-12-02 
20:56:59.000000000 +0100
+++ new/trytond_account_invoice-5.0.7/tryton.cfg        2020-01-09 
22:20:06.000000000 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=5.0.6
+version=5.0.7
 depends:
     account
     account_product
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account_invoice-5.0.6/trytond_account_invoice.egg-info/PKG-INFO 
new/trytond_account_invoice-5.0.7/trytond_account_invoice.egg-info/PKG-INFO
--- old/trytond_account_invoice-5.0.6/trytond_account_invoice.egg-info/PKG-INFO 
2020-01-09 22:19:51.000000000 +0100
+++ new/trytond_account_invoice-5.0.7/trytond_account_invoice.egg-info/PKG-INFO 
2020-02-02 17:23:07.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: trytond-account-invoice
-Version: 5.0.6
+Version: 5.0.7
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton


Reply via email to