From 7f4622bb9bd62a1ac916feeb2ce1a86832be3a9b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 30 Jan 2020 22:26:56 +0100 Subject: [PATCH] [FIX] account_chart_update: Clear caches before searching If not, changes done in for example taxes are not reflected. --- account_chart_update/__manifest__.py | 2 +- account_chart_update/wizard/wizard_chart_update.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/account_chart_update/__manifest__.py b/account_chart_update/__manifest__.py index bed5720f..c2d99a0c 100644 --- a/account_chart_update/__manifest__.py +++ b/account_chart_update/__manifest__.py @@ -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"], diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 90d30eda..1102d7c7 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -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: