[FIX] account_chart_update: Clear caches before searching
If not, changes done in for example taxes are not reflected.
This commit is contained in:
parent
f20f692994
commit
7f4622bb9b
@ -7,7 +7,7 @@
|
||||
{
|
||||
"name": "Detect changes and update the Account Chart from a template",
|
||||
"summary": "Wizard to update a company's account chart from a template",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "13.0.1.0.1",
|
||||
"author": "Tecnativa, BCIM, Okia, Odoo Community Association (OCA)",
|
||||
"website": "http://github.com/OCA/account-financial-tools",
|
||||
"depends": ["account"],
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user