Add missing depends on currency to the TaxableMixin._round_taxes method

Closes #14348
(grafted from c3e0f5727931a8674b377930ff9df896f95cbdbb)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2025-11-04 10:28:04 +01:00
parent fc69dacad9
commit 162d2eaf7e
+1
View File
@@ -1203,6 +1203,7 @@ class TaxableMixin(object):
return _TaxKey(**line)
@fields.depends('currency')
def _round_taxes(self, taxes):
if not self.currency:
return