From 4ea98e269306db25313df519550203ec844cb17d Mon Sep 17 00:00:00 2001 From: Matteo Bilotta Date: Tue, 30 Oct 2018 17:08:23 +0100 Subject: [PATCH] [IMP] A better wizard for fiscalcode generation. (#569) --- l10n_it_fiscalcode/migrations/11.0.1.1.0/pre-migrate.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 l10n_it_fiscalcode/migrations/11.0.1.1.0/pre-migrate.py diff --git a/l10n_it_fiscalcode/migrations/11.0.1.1.0/pre-migrate.py b/l10n_it_fiscalcode/migrations/11.0.1.1.0/pre-migrate.py new file mode 100644 index 000000000000..f32a5decd237 --- /dev/null +++ b/l10n_it_fiscalcode/migrations/11.0.1.1.0/pre-migrate.py @@ -0,0 +1,9 @@ +# Copyright © 2018 Matteo Bilotta (Link IT s.r.l.) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +def migrate(cr, version): + if not version: + return + + cr.execute("DROP VIEW IF EXISTS res_city_it_code_province;")