diff --git a/modules/account/tax.py b/modules/account/tax.py index 16fb557b10..93ad8fa5bb 100644 --- a/modules/account/tax.py +++ b/modules/account/tax.py @@ -542,7 +542,8 @@ class TaxCodeContext(ModelView): return Transaction().context.get('company') @fields.depends( - 'company', 'fiscalyear', 'period', methods=['on_change_with_periods']) + 'company', 'fiscalyear', 'period', 'periods', + methods=['on_change_with_periods']) def on_change_company(self): if self.fiscalyear and self.fiscalyear.company != self.company: self.fiscalyear = None