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-01-05 15:28:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond_account (Old) and /work/SRC/openSUSE:Factory/.trytond_account.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_account" Sun Jan 5 15:28:41 2025 rev:49 rq:1234605 version:6.0.28 Changes: -------- --- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes 2024-09-24 17:34:07.887227261 +0200 +++ /work/SRC/openSUSE:Factory/.trytond_account.new.1881/trytond_account.changes 2025-01-05 15:28:48.871736175 +0100 @@ -1,0 +2,5 @@ +Thu Jan 2 17:35:43 UTC 2025 - Axel Braun <axel.br...@gmx.de> + +- Version 6.0.28 - Bugfix Release + +------------------------------------------------------------------- Old: ---- trytond_account-6.0.27.tar.gz New: ---- trytond_account-6.0.28.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trytond_account.spec ++++++ --- /var/tmp/diff_new_pack.5irONq/_old 2025-01-05 15:28:49.515762665 +0100 +++ /var/tmp/diff_new_pack.5irONq/_new 2025-01-05 15:28:49.519762829 +0100 @@ -28,7 +28,7 @@ %define majorver 6.0 Name: trytond_account -Version: %{majorver}.27 +Version: %{majorver}.28 Release: 0 Summary: The "account" module for the Tryton ERP system License: GPL-3.0-or-later ++++++ trytond_account-6.0.27.tar.gz -> trytond_account-6.0.28.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.27/CHANGELOG new/trytond_account-6.0.28/CHANGELOG --- old/trytond_account-6.0.27/CHANGELOG 2024-09-01 14:13:31.000000000 +0200 +++ new/trytond_account-6.0.28/CHANGELOG 2025-01-01 20:46:50.000000000 +0100 @@ -1,4 +1,9 @@ +Version 6.0.28 - 2025-01-01 +--------------------------- +* Bug fixes (see mercurial logs for details) + + Version 6.0.27 - 2024-09-01 --------------------------- * Bug fixes (see mercurial logs for details) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.27/PKG-INFO new/trytond_account-6.0.28/PKG-INFO --- old/trytond_account-6.0.27/PKG-INFO 2024-09-01 14:13:33.870893000 +0200 +++ new/trytond_account-6.0.28/PKG-INFO 2025-01-01 20:46:53.465062900 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_account -Version: 6.0.27 +Version: 6.0.28 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.27/fiscalyear.py new/trytond_account-6.0.28/fiscalyear.py --- old/trytond_account-6.0.27/fiscalyear.py 2023-07-03 23:08:13.000000000 +0200 +++ new/trytond_account-6.0.28/fiscalyear.py 2024-12-30 18:59:50.000000000 +0100 @@ -622,15 +622,19 @@ fiscalyear, = FiscalYear.copy( [self.start.previous_fiscalyear], default=self.fiscalyear_defaults()) - periods = [p for p in self.start.previous_fiscalyear.periods + periods = [ + p for p in self.start.previous_fiscalyear.periods if p.type == 'standard'] - months = month_delta(fiscalyear.end_date, fiscalyear.start_date) + 1 - interval = months / len(periods) - end_day = max(p.end_date.day - for p in self.start.previous_fiscalyear.periods - if p.type == 'standard') - if interval.is_integer(): - FiscalYear.create_period([fiscalyear], interval, end_day) + if periods: + months = month_delta(fiscalyear.end_date, fiscalyear.start_date) + months += 1 + interval = months / len(periods) + end_day = max( + p.end_date.day + for p in self.start.previous_fiscalyear.periods + if p.type == 'standard') + if interval.is_integer(): + FiscalYear.create_period([fiscalyear], interval, end_day) return fiscalyear def do_create_(self, action): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.27/tox.ini new/trytond_account-6.0.28/tox.ini --- old/trytond_account-6.0.27/tox.ini 2023-05-17 23:03:30.000000000 +0200 +++ new/trytond_account-6.0.28/tox.ini 2024-09-13 16:34:13.000000000 +0200 @@ -4,6 +4,7 @@ [testenv] commands = {envpython} setup.py test deps = + setuptools<72 {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.27/tryton.cfg new/trytond_account-6.0.28/tryton.cfg --- old/trytond_account-6.0.27/tryton.cfg 2024-06-02 19:41:12.000000000 +0200 +++ new/trytond_account-6.0.28/tryton.cfg 2024-09-01 14:13:41.000000000 +0200 @@ -1,5 +1,5 @@ [tryton] -version=6.0.27 +version=6.0.28 depends: company currency diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trytond_account-6.0.27/trytond_account.egg-info/PKG-INFO new/trytond_account-6.0.28/trytond_account.egg-info/PKG-INFO --- old/trytond_account-6.0.27/trytond_account.egg-info/PKG-INFO 2024-09-01 14:13:33.000000000 +0200 +++ new/trytond_account-6.0.28/trytond_account.egg-info/PKG-INFO 2025-01-01 20:46:52.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: trytond_account -Version: 6.0.27 +Version: 6.0.28 Summary: Tryton module for accounting Home-page: http://www.tryton.org/ Download-URL: http://downloads.tryton.org/6.0/