diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index a2851cc4698..93a107b57ca 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -3057,7 +3057,12 @@ class AccountMoveLine(models.Model): help="The bank statement used for bank reconciliation") # ==== Tax fields ==== - tax_ids = fields.Many2many('account.tax', string='Taxes', help="Taxes that apply on the base amount", check_company=True) + tax_ids = fields.Many2many( + comodel_name='account.tax', + string="Taxes", + context={'active_test': False}, + check_company=True, + help="Taxes that apply on the base amount") tax_line_id = fields.Many2one('account.tax', string='Originator Tax', ondelete='restrict', store=True, compute='_compute_tax_line_id', help="Indicates that this journal item is a tax line") tax_group_id = fields.Many2one(related='tax_line_id.tax_group_id', string='Originator tax group',