details: https://code.tryton.org/tryton/commit/a9a970d136ca
branch: 6.0
user: Cédric Krier <[email protected]>
date: Tue Nov 04 10:28:04 2025 +0100
description:
Add missing depends on currency to the TaxableMixin._round_taxes method
Closes #14348
(grafted from c3e0f5727931a8674b377930ff9df896f95cbdbb)
diffstat:
modules/account/tax.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 203cb62ffb56 -r a9a970d136ca modules/account/tax.py
--- a/modules/account/tax.py Fri Nov 21 08:45:32 2025 +0100
+++ b/modules/account/tax.py Tue Nov 04 10:28:04 2025 +0100
@@ -1203,6 +1203,7 @@
return _TaxKey(**line)
+ @fields.depends('currency')
def _round_taxes(self, taxes):
if not self.currency:
return