From 4c5b816db3577dfa59f64544ffb8491ea50277a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 21 Mar 2016 10:47:34 +0100 Subject: [PATCH] [FIX] account_chart_update: * Process price_include field * Detect change in price_include field --- account_chart_update/wizard/wizard_chart_update.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 3324dcc9..e3af7a6f 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -601,6 +601,8 @@ class WizardUpdateChartsAccounts(models.TransientModel): notes += _("The include base amount field is different.\n") if tax.type_tax_use != tax_template.type_tax_use: notes += _("The type tax use field is different.\n") + if tax.price_include != tax_template.price_include: + notes += _("The Tax Included in Price field is different.\n") # compare tax code fields if tax.base_code_id != self.map_tax_code_template( tax_template.base_code_id, mapping_tax_codes): @@ -922,7 +924,8 @@ class WizardUpdateChartsAccounts(models.TransientModel): 'include_base_amount': tax_template.include_base_amount, 'description': tax_template.description, 'company_id': self.company_id.id, - 'type_tax_use': tax_template.type_tax_use + 'type_tax_use': tax_template.type_tax_use, + 'price_include': tax_template.price_include, } @api.multi