diff --git a/l10n_it_withholding_tax/models/withholding_tax.py b/l10n_it_withholding_tax/models/withholding_tax.py index 8b9db317f81b..1641a7b5b67e 100644 --- a/l10n_it_withholding_tax/models/withholding_tax.py +++ b/l10n_it_withholding_tax/models/withholding_tax.py @@ -302,11 +302,7 @@ class WithholdingTaxMove(models.Model): ) statement_id = fields.Many2one("withholding.tax.statement", "Statement") wt_type = fields.Selection( - [ - ("in", "In"), - ("out", "Out"), - ], - "Type", + string="Type", store=True, related="statement_id.wt_type", )