[FIX] account_chart_update: Clear caches before searching

If not, changes done in for example taxes are not reflected.
This commit is contained in:
Pedro M. Baeza
2020-01-30 22:26:56 +01:00
committed by Luis J. Salvatierra
parent f20f692994
commit 7f4622bb9b
2 changed files with 2 additions and 1 deletions

View File

@@ -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: