diff --git a/addons/account/models/account_tax.py b/addons/account/models/account_tax.py index c3f5a5673c126b389890ccb51f478e4ae0d325be..b46fddd81b17eefb5a50de1358ad05dd4cf0ec2d 100644 --- a/addons/account/models/account_tax.py +++ b/addons/account/models/account_tax.py @@ -1279,7 +1279,7 @@ class AccountTaxRepartitionLine(models.Model): repartition_type = fields.Selection(string="Based On", selection=[('base', 'Base'), ('tax', 'of tax')], required=True, default='tax', help="Base on which the factor will be applied.") account_id = fields.Many2one(string="Account", comodel_name='account.account', - domain="[('deprecated', '=', False), ('company_id', '=', company_id), ('account_type', 'not in', ('asset_receivable', 'liability_payable'))]", + domain="[('deprecated', '=', False), ('company_id', '=', company_id), ('account_type', 'not in', ('asset_receivable', 'liability_payable', 'off_balance'))]", check_company=True, help="Account on which to post the tax amount") tag_ids = fields.Many2many(string="Tax Grids", comodel_name='account.account.tag', domain=[('applicability', '=', 'taxes')], copy=True, ondelete='restrict')