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 2024-07-02 18:19:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trytond_account (Old)
and /work/SRC/openSUSE:Factory/.trytond_account.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond_account"
Tue Jul 2 18:19:16 2024 rev:47 rq:1184804 version:6.0.26
Changes:
--------
--- /work/SRC/openSUSE:Factory/trytond_account/trytond_account.changes
2024-05-20 18:16:18.068542411 +0200
+++
/work/SRC/openSUSE:Factory/.trytond_account.new.18349/trytond_account.changes
2024-07-02 18:19:17.673665197 +0200
@@ -1,0 +2,5 @@
+Tue Jul 2 09:11:22 UTC 2024 - Axel Braun <[email protected]>
+
+- Version 6.0.26 - Bugfix Release
+
+-------------------------------------------------------------------
Old:
----
trytond_account-6.0.25.tar.gz
New:
----
trytond_account-6.0.26.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trytond_account.spec ++++++
--- /var/tmp/diff_new_pack.9k8Nu4/_old 2024-07-02 18:19:18.249686273 +0200
+++ /var/tmp/diff_new_pack.9k8Nu4/_new 2024-07-02 18:19:18.253686420 +0200
@@ -28,7 +28,7 @@
%define majorver 6.0
Name: trytond_account
-Version: %{majorver}.25
+Version: %{majorver}.26
Release: 0
Summary: The "account" module for the Tryton ERP system
License: GPL-3.0-or-later
++++++ trytond_account-6.0.25.tar.gz -> trytond_account-6.0.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account-6.0.25/CHANGELOG
new/trytond_account-6.0.26/CHANGELOG
--- old/trytond_account-6.0.25/CHANGELOG 2024-05-15 19:16:49.000000000
+0200
+++ new/trytond_account-6.0.26/CHANGELOG 2024-06-02 19:40:59.000000000
+0200
@@ -1,4 +1,9 @@
+Version 6.0.26 - 2024-06-02
+---------------------------
+* Bug fixes (see mercurial logs for details)
+
+
Version 6.0.25 - 2024-05-15
---------------------------
* Bug fixes (see mercurial logs for details)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account-6.0.25/PKG-INFO
new/trytond_account-6.0.26/PKG-INFO
--- old/trytond_account-6.0.25/PKG-INFO 2024-05-15 19:16:52.954051300 +0200
+++ new/trytond_account-6.0.26/PKG-INFO 2024-06-02 19:41:02.086612000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: trytond_account
-Version: 6.0.25
+Version: 6.0.26
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.25/move.py
new/trytond_account-6.0.26/move.py
--- old/trytond_account-6.0.25/move.py 2024-05-11 12:34:17.000000000 +0200
+++ new/trytond_account-6.0.26/move.py 2024-05-26 19:48:07.000000000 +0200
@@ -556,8 +556,8 @@
def check_lines(cls, reconciliations):
Lang = Pool().get('ir.lang')
for reconciliation in reconciliations:
- debit = Decimal('0.0')
- credit = Decimal('0.0')
+ debit = Decimal(0)
+ credit = Decimal(0)
account = None
if reconciliation.lines:
party = reconciliation.lines[0].party
@@ -894,13 +894,13 @@
@fields.depends('debit', 'credit', 'amount_second_currency')
def on_change_debit(self):
if self.debit:
- self.credit = Decimal('0.0')
+ self.credit = Decimal(0)
self._amount_second_currency_sign()
@fields.depends('debit', 'credit', 'amount_second_currency')
def on_change_credit(self):
if self.credit:
- self.debit = Decimal('0.0')
+ self.debit = Decimal(0)
self._amount_second_currency_sign()
@fields.depends('amount_second_currency', 'debit', 'credit')
@@ -1321,7 +1321,7 @@
lines = list(lines)
reconcile_account = None
reconcile_party = None
- amount = Decimal('0.0')
+ amount = Decimal(0)
for line in lines:
amount += line.debit - line.credit
if not reconcile_account:
@@ -1610,7 +1610,7 @@
def get_writeoff(self):
"Return writeoff amount and company"
company = None
- amount = Decimal('0.0')
+ amount = Decimal(0)
for line in self.records:
amount += line.debit - line.credit
if not company:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account-6.0.25/tax.py
new/trytond_account-6.0.26/tax.py
--- old/trytond_account-6.0.25/tax.py 2023-12-10 13:43:09.000000000 +0100
+++ new/trytond_account-6.0.26/tax.py 2024-05-26 19:47:33.000000000 +0200
@@ -1047,7 +1047,7 @@
date = Date.today()
taxes = cls.sort_taxes(taxes)
res = cls._unit_compute(taxes, price_unit, date)
- quantity = Decimal(str(quantity or 0.0))
+ quantity = Decimal(str(quantity or 0))
for row in res:
row['base'] *= quantity
row['amount'] *= quantity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_account-6.0.25/tests/scenario_account_reconciliation.rst
new/trytond_account-6.0.26/tests/scenario_account_reconciliation.rst
--- old/trytond_account-6.0.25/tests/scenario_account_reconciliation.rst
2023-05-17 23:03:30.000000000 +0200
+++ new/trytond_account-6.0.26/tests/scenario_account_reconciliation.rst
2024-05-26 19:47:33.000000000 +0200
@@ -161,4 +161,4 @@
>>> writeoff_line2.account == expense
True
>>> writeoff_line2.debit
- Decimal('3.0')
+ Decimal('3')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trytond_account-6.0.25/tryton.cfg
new/trytond_account-6.0.26/tryton.cfg
--- old/trytond_account-6.0.25/tryton.cfg 2024-05-01 14:40:20.000000000
+0200
+++ new/trytond_account-6.0.26/tryton.cfg 2024-05-15 19:17:03.000000000
+0200
@@ -1,5 +1,5 @@
[tryton]
-version=6.0.25
+version=6.0.26
depends:
company
currency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/trytond_account-6.0.25/trytond_account.egg-info/PKG-INFO
new/trytond_account-6.0.26/trytond_account.egg-info/PKG-INFO
--- old/trytond_account-6.0.25/trytond_account.egg-info/PKG-INFO
2024-05-15 19:16:52.000000000 +0200
+++ new/trytond_account-6.0.26/trytond_account.egg-info/PKG-INFO
2024-06-02 19:41:01.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: trytond_account
-Version: 6.0.25
+Version: 6.0.26
Summary: Tryton module for accounting
Home-page: http://www.tryton.org/
Download-URL: http://downloads.tryton.org/6.0/