From 56045b4b29ee52c796b098404bbc1aba6973568b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 24 Dec 2014 13:17:52 +0100 Subject: [PATCH] [IMP] account_chart_update: update accounts on taxes even if an update of the account was not requested Useful when the chart of taxes changes but the chart of account need not be updated. --- account_chart_update/wizard/wizard_chart_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 369ef6fc1..95157e615 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -1514,7 +1514,7 @@ class wizard_update_charts_accounts(orm.TransientModel): accounts_res = self._update_accounts(cr, uid, wizard, log, taxes_res['mapping'], context=context) - if wizard.update_tax and wizard.update_account: + if wizard.update_tax: self._update_taxes_pending_for_accounts(cr, uid, wizard, log, taxes_res['pending'], accounts_res['mapping'],