mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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.
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user