Add missing depends on currency to the TaxableMixin._round_taxes method

Closes #14348
(grafted from c3e0f5727931a8674b377930ff9df896f95cbdbb)

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