[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

This commit is contained in:
qdp-odoo
2015-12-03 10:59:49 +01:00
parent 40bd4a2f05
commit bdf088d349
+1
View File
@@ -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 !'),