From bdf088d3499a741b6d6cf60154e60fdf26ea6537 Mon Sep 17 00:00:00 2001 From: qdp-odoo Date: Thu, 3 Dec 2015 10:59:49 +0100 Subject: [PATCH] [FIX] account: added tax_group_id field on tax template, which is already present on account.tax object but was forgotten on the template. Fixes #9859 --- addons/account/models/chart_template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py index ff230f6d4c7..74845f30288 100644 --- a/addons/account/models/chart_template.py +++ b/addons/account/models/chart_template.py @@ -406,6 +406,7 @@ class AccountTaxTemplate(models.Model): help="If set, taxes which are computed after this one will be computed based on the price tax included.") analytic = fields.Boolean(string="Analytic Cost", help="If set, the amount computed by this tax will be assigned to the same analytic account as the invoice line (if any)") tag_ids = fields.Many2many('account.account.tag', string='Account tag', help="Optional tags you may want to assign for custom reporting") + tax_group_id = fields.Many2one('account.tax.group', string="Tax Group", default=_default_tax_group, required=True) _sql_constraints = [ ('name_company_uniq', 'unique(name, company_id, type_tax_use)', 'Tax names must be unique !'),