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 2025-06-23 15:03:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Mon Jun 23 15:03:35 2025 rev:52 rq:1287636 version:6.0.31

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2025-05-12 16:51:51.584182692 +0200
+++ 
/work/SRC/openSUSE:Factory/.trytond_account.new.7067/trytond_account.changes    
    2025-06-23 15:04:04.906752351 +0200
@@ -1,0 +2,5 @@
+Sun Jun 15 07:11:32 UTC 2025 - Axel Braun <axel.br...@gmx.de>
+
+- Version 6.0.31 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-6.0.30.tar.gz

New:
----
  trytond_account-6.0.31.tar.gz

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

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.oQv0DU/_old  2025-06-23 15:04:05.578780387 +0200
+++ /var/tmp/diff_new_pack.oQv0DU/_new  2025-06-23 15:04:05.578780387 +0200
@@ -28,7 +28,7 @@
 
 %define majorver 6.0
 Name:           trytond_account
-Version:        %{majorver}.30
+Version:        %{majorver}.31
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0-or-later

++++++ trytond_account-6.0.30.tar.gz -> trytond_account-6.0.31.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.30/CHANGELOG 
new/trytond_account-6.0.31/CHANGELOG
--- old/trytond_account-6.0.30/CHANGELOG        2025-04-26 18:01:38.000000000 
+0200
+++ new/trytond_account-6.0.31/CHANGELOG        2025-05-15 19:51:24.000000000 
+0200
@@ -1,4 +1,9 @@
 
+Version 6.0.31 - 2025-05-15
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 6.0.30 - 2025-04-26
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.30/PKG-INFO 
new/trytond_account-6.0.31/PKG-INFO
--- old/trytond_account-6.0.30/PKG-INFO 2025-04-26 18:01:40.785598300 +0200
+++ new/trytond_account-6.0.31/PKG-INFO 2025-05-15 19:51:27.362872000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 6.0.30
+Version: 6.0.31
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.30/journal.py 
new/trytond_account-6.0.31/journal.py
--- old/trytond_account-6.0.30/journal.py       2025-04-14 19:07:17.000000000 
+0200
+++ new/trytond_account-6.0.31/journal.py       2025-05-14 18:51:37.000000000 
+0200
@@ -3,6 +3,7 @@
 from decimal import Decimal
 
 from sql.aggregate import Sum
+from sql.conditionals import Coalesce
 
 from trytond import backend
 from trytond.i18n import gettext
@@ -124,8 +125,8 @@
         account_type = AccountType.__table__()
         where = ((move.date >= context.get('start_date'))
             & (move.date <= context.get('end_date'))
-            & ~account_type.receivable
-            & ~account_type.payable
+            & ~Coalesce(account_type.receivable, False)
+            & ~Coalesce(account_type.payable, False)
             & (move.company == company.id))
         for sub_journals in grouped_slice(journals):
             sub_journals = list(sub_journals)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.30/move.py 
new/trytond_account-6.0.31/move.py
--- old/trytond_account-6.0.30/move.py  2025-02-28 23:08:45.000000000 +0100
+++ new/trytond_account-6.0.31/move.py  2025-05-14 18:51:37.000000000 +0200
@@ -1704,10 +1704,12 @@
                 having=((
                         Sum(Case((balance > 0, 1), else_=0)) > 0)
                     & (Sum(Case((balance < 0, 1), else_=0)) > 0)
-                    | Case((account_type.receivable & ~account_type.payable,
+                    | Case((account_type.receivable
+                            & ~Coalesce(account_type.payable, False),
                             Sum(balance) < 0),
                         else_=False)
-                    | Case((account_type.payable & ~account_type.receivable,
+                    | Case((account_type.payable
+                            & ~Coalesce(account_type.receivable, False),
                             Sum(balance) > 0),
                         else_=False)
                     )))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-6.0.30/tryton.cfg 
new/trytond_account-6.0.31/tryton.cfg
--- old/trytond_account-6.0.30/tryton.cfg       2025-01-16 19:04:02.000000000 
+0100
+++ new/trytond_account-6.0.31/tryton.cfg       2025-04-26 18:01:48.000000000 
+0200
@@ -1,5 +1,5 @@
 [tryton]
-version=6.0.30
+version=6.0.31
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-6.0.30/trytond_account.egg-info/PKG-INFO 
new/trytond_account-6.0.31/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-6.0.30/trytond_account.egg-info/PKG-INFO        
2025-04-26 18:01:40.000000000 +0200
+++ new/trytond_account-6.0.31/trytond_account.egg-info/PKG-INFO        
2025-05-15 19:51:26.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 6.0.30
+Version: 6.0.31
 Summary: Tryton module for accounting
 Home-page: http://www.tryton.org/
 Download-URL: http://downloads.tryton.org/6.0/

Reply via email to