mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_chart_update: Clear caches before searching
If not, changes done in for example taxes are not reflected.
This commit is contained in:
committed by
Luis J. Salvatierra
parent
f20f692994
commit
7f4622bb9b
@@ -306,6 +306,7 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
||||
|
||||
def action_find_records(self):
|
||||
"""Searchs for records to update/create and shows them."""
|
||||
self.clear_caches()
|
||||
self = self.with_context(lang=self.lang)
|
||||
# Search for, and load, the records to create/update.
|
||||
if self.update_tax:
|
||||
|
||||
Reference in New Issue
Block a user