details: https://code.tryton.org/tryton/commit/1eb8d837c255
branch: 7.6
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 c1be98d2115b -r 1eb8d837c255 modules/account/tax.py
--- a/modules/account/tax.py Fri Nov 21 08:46:05 2025 +0100
+++ b/modules/account/tax.py Tue Nov 04 10:28:04 2025 +0100
@@ -1241,6 +1241,7 @@
return _TaxKey(**line)
+ @fields.depends('currency')
def _round_taxes(self, taxes):
if not self.currency:
return