Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package trytond_account for openSUSE:Factory 
checked in at 2026-11-18 18:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Wed Nov 18 18:31:50 2026 rev:60 rq:1398362 version:7.0.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2026-08-14 22:09:39.805809489 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_account.new.1251/trytond_account.changes    
    2026-11-18 18:33:21.242434905 +0100
@@ -1,0 +2,5 @@
+Wed Nov 18 10:17:26 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.30 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-7.0.28.tar.gz

New:
----
  trytond_account-7.0.30.tar.gz

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

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.ZBXZjG/_old  2026-11-18 18:33:22.879504545 +0100
+++ /var/tmp/diff_new_pack.ZBXZjG/_new  2026-11-18 18:33:22.883504715 +0100
@@ -28,7 +28,7 @@
 
 %define majorver 7.0
 Name:           trytond_account
-Version:        %{majorver}.28
+Version:        %{majorver}.30
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0-or-later

++++++ trytond_account-7.0.28.tar.gz -> trytond_account-7.0.30.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.28/CHANGELOG 
new/trytond_account-7.0.30/CHANGELOG
--- old/trytond_account-7.0.28/CHANGELOG        2026-07-15 19:42:12.000000000 
+0200
+++ new/trytond_account-7.0.30/CHANGELOG        2026-11-05 23:05:54.656707300 
+0100
@@ -1,4 +1,14 @@
 
+Version 7.0.30 - 2026-11-05
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
+Version 7.0.29 - 2026-10-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.28 - 2026-07-15
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.28/PKG-INFO 
new/trytond_account-7.0.30/PKG-INFO
--- old/trytond_account-7.0.28/PKG-INFO 2026-07-15 19:42:19.741656500 +0200
+++ new/trytond_account-7.0.30/PKG-INFO 2026-11-05 23:05:58.076134700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 7.0.28
+Version: 7.0.30
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.28/move.py 
new/trytond_account-7.0.30/move.py
--- old/trytond_account-7.0.28/move.py  2026-07-08 08:36:10.000000000 +0200
+++ new/trytond_account-7.0.30/move.py  2026-11-03 18:03:36.668099600 +0100
@@ -357,9 +357,11 @@
         '''
         pool = Pool()
         MoveLine = pool.get('account.move.line')
+        Currency = pool.get('currency.currency')
         line = MoveLine.__table__()
         transaction = Transaction()
         cursor = transaction.connection.cursor()
+        cast = Currency.rounding.sql_cast
 
         for company, moves in groupby(moves, key=lambda m: m.company):
             currency = company.currency
@@ -372,7 +374,7 @@
                     group_by=line.move,
                     having=Abs(Round(
                             Sum(line.debit - line.credit),
-                            currency.digits)) < abs(currency.rounding))
+                            currency.digits)) < cast(abs(currency.rounding)))
                 cursor.execute(*line.update(
                         [line.state],
                         ['valid'],
@@ -384,7 +386,7 @@
                     group_by=line.move,
                     having=Abs(Round(
                             Sum(line.debit - line.credit),
-                            currency.digits)) >= abs(currency.rounding))
+                            currency.digits)) >= cast(abs(currency.rounding)))
                 cursor.execute(*line.update(
                         [line.state],
                         ['draft'],
@@ -2816,7 +2818,7 @@
             if self.start.amount:
                 interval = self.start.interval
                 amount = self.start.amount.copy_sign(remaining)
-                while remaining - amount > 0:
+                while abs(remaining) > abs(amount):
                     terms.append({
                             'date': date,
                             'amount': amount,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.28/tox.ini 
new/trytond_account-7.0.30/tox.ini
--- old/trytond_account-7.0.28/tox.ini  2025-09-22 21:34:39.000000000 +0200
+++ new/trytond_account-7.0.30/tox.ini  2026-07-30 08:12:45.533590600 +0200
@@ -12,7 +12,7 @@
 deps =
     coverage
     unittest-xml-reporting
-    postgresql: psycopg2 >= 2.7.0
+    postgresql: psycopg2-binary >= 2.7.0
 passenv = *
 setenv =
     sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.28/tryton.cfg 
new/trytond_account-7.0.30/tryton.cfg
--- old/trytond_account-7.0.28/tryton.cfg       2026-07-08 08:36:10.000000000 
+0200
+++ new/trytond_account-7.0.30/tryton.cfg       2026-10-15 19:24:32.039610100 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=7.0.28
+version=7.0.30
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-7.0.28/trytond_account.egg-info/PKG-INFO 
new/trytond_account-7.0.30/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-7.0.28/trytond_account.egg-info/PKG-INFO        
2026-07-15 19:42:18.000000000 +0200
+++ new/trytond_account-7.0.30/trytond_account.egg-info/PKG-INFO        
2026-11-05 23:05:57.401061000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 7.0.28
+Version: 7.0.30
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/7.0/

Reply via email to