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-03-08 17:26:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
 and      /work/SRC/openSUSE:Factory/.trytond_account.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trytond_account"

Sun Mar  8 17:26:36 2026 rev:57 rq:1337449 version:7.0.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes  
2025-12-22 22:51:35.894854040 +0100
+++ 
/work/SRC/openSUSE:Factory/.trytond_account.new.8177/trytond_account.changes    
    2026-03-08 17:27:10.779532480 +0100
@@ -1,0 +2,5 @@
+Sat Mar  7 18:57:33 UTC 2026 - Axel Braun <[email protected]>
+
+- Version 7.0.24 - Bugfix Release
+
+-------------------------------------------------------------------

Old:
----
  trytond_account-7.0.23.tar.gz

New:
----
  trytond_account-7.0.24.tar.gz

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

Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.NI2NJe/_old  2026-03-08 17:27:11.271552687 +0100
+++ /var/tmp/diff_new_pack.NI2NJe/_new  2026-03-08 17:27:11.271552687 +0100
@@ -28,7 +28,7 @@
 
 %define majorver 7.0
 Name:           trytond_account
-Version:        %{majorver}.23
+Version:        %{majorver}.24
 Release:        0
 Summary:        The "account" module for the Tryton ERP system
 License:        GPL-3.0-or-later

++++++ trytond_account-7.0.23.tar.gz -> trytond_account-7.0.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.23/CHANGELOG 
new/trytond_account-7.0.24/CHANGELOG
--- old/trytond_account-7.0.23/CHANGELOG        2025-12-17 19:44:05.000000000 
+0100
+++ new/trytond_account-7.0.24/CHANGELOG        2026-03-02 23:14:14.000000000 
+0100
@@ -1,4 +1,9 @@
 
+Version 7.0.24 - 2026-03-02
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
 Version 7.0.23 - 2025-12-17
 ---------------------------
 * Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.23/PKG-INFO 
new/trytond_account-7.0.24/PKG-INFO
--- old/trytond_account-7.0.23/PKG-INFO 2025-12-17 19:44:07.983179000 +0100
+++ new/trytond_account-7.0.24/PKG-INFO 2026-03-02 23:14:17.974967500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 7.0.23
+Version: 7.0.24
 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.23/account.py 
new/trytond_account-7.0.24/account.py
--- old/trytond_account-7.0.23/account.py       2025-09-22 21:34:39.000000000 
+0200
+++ new/trytond_account-7.0.24/account.py       2026-02-27 17:53:56.000000000 
+0100
@@ -1986,12 +1986,10 @@
         return None, None
 
     @classmethod
-    def get_account(cls, records, name):
+    def _account_context(cls, name):
         pool = Pool()
         LedgerAccountContext = pool.get(
             'account.general_ledger.account.context')
-        Account = cls._get_account()
-
         period_ids, from_date, to_date = None, None, None
         context = LedgerAccountContext.get_context()
         if context.get('start_period') or context.get('end_period'):
@@ -2001,10 +1999,17 @@
         else:
             if name.startswith('start_'):
                 period_ids = []
+        return {
+            'periods': period_ids,
+            'from_date': from_date,
+            'to_date': to_date,
+            }
+
+    @classmethod
+    def get_account(cls, records, name):
+        Account = cls._get_account()
 
-        with Transaction().set_context(
-                periods=period_ids,
-                from_date=from_date, to_date=to_date):
+        with Transaction().set_context(cls._account_context(name)):
             accounts = Account.browse(records)
         fname = name
         for test in ['start_', 'end_']:
@@ -2017,8 +2022,7 @@
     def search_account(cls, name, domain):
         Account = cls._get_account()
 
-        period_ids = cls.get_period_ids(name)
-        with Transaction().set_context(periods=period_ids):
+        with Transaction().set_context(cls._account_context(name)):
             accounts = Account.search([], order=[])
 
         _, operator_, operand = domain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trytond_account-7.0.23/tryton.cfg 
new/trytond_account-7.0.24/tryton.cfg
--- old/trytond_account-7.0.23/tryton.cfg       2025-09-22 21:34:39.000000000 
+0200
+++ new/trytond_account-7.0.24/tryton.cfg       2025-12-17 19:44:14.000000000 
+0100
@@ -1,5 +1,5 @@
 [tryton]
-version=7.0.23
+version=7.0.24
 depends:
     company
     currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/trytond_account-7.0.23/trytond_account.egg-info/PKG-INFO 
new/trytond_account-7.0.24/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-7.0.23/trytond_account.egg-info/PKG-INFO        
2025-12-17 19:44:07.000000000 +0100
+++ new/trytond_account-7.0.24/trytond_account.egg-info/PKG-INFO        
2026-03-02 23:14:17.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: trytond_account
-Version: 7.0.23
+Version: 7.0.24
 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.23/type_statement.fodt 
new/trytond_account-7.0.24/type_statement.fodt
--- old/trytond_account-7.0.23/type_statement.fodt      2023-10-30 
18:06:38.000000000 +0100
+++ new/trytond_account-7.0.24/type_statement.fodt      2026-02-27 
21:27:54.000000000 +0100
@@ -536,7 +536,7 @@
    <text:p text:style-name="P25">From Date: <text:placeholder 
text:placeholder-type="text">&lt;format_date(ctx.from_date, user.language) if 
ctx.from_date else &apos;&apos;&gt;</text:placeholder><text:s/>To 
<text:placeholder text:placeholder-type="text">&lt;format_date(ctx.to_date, 
user.language) if ctx.to_date else &apos;&apos;&gt;</text:placeholder></text:p>
    <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/if&gt;</text:placeholder></text:p>
    <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>
-   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;when 
test=&quot;data.get(&apos;model_context&apos;) in 
[&apos;account.balance_sheet.context&apos;, 
&apos;account.balance_sheet.comparision.context&apos;]&quot;&gt;</text:placeholder></text:p>
+   <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;when 
test=&quot;data.get(&apos;model_context&apos;) in 
[&apos;account.balance_sheet.context&apos;, 
&apos;account.balance_sheet.comparison.context&apos;]&quot;&gt;</text:placeholder></text:p>
    <text:p text:style-name="P28">Balance Sheet</text:p>
    <text:p text:style-name="P26">Date: <text:placeholder 
text:placeholder-type="text">&lt;format_date(ctx.date, user.language) if 
ctx.date else &apos;&apos;&gt;</text:placeholder></text:p>
    <text:p text:style-name="P24"><text:placeholder 
text:placeholder-type="text">&lt;/when&gt;</text:placeholder></text:p>

Reply via email to