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:
@@ -1203,6 +1203,7 @@ class TaxableMixin(object):
|
||||
|
||||
return _TaxKey(**line)
|
||||
|
||||
@fields.depends('currency')
|
||||
def _round_taxes(self, taxes):
|
||||
if not self.currency:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user