From b7345de4d53ae310772029224985372ee43abd14 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sun, 23 Mar 2014 22:48:12 +0100 Subject: [PATCH] Execute even if no version is passed to the migration function (for those who upgrade from versions where the module account_banking_payment_export didn't exist) --- .../migrations/7.0.0.1.165/pre-migration.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/account_banking_payment_export/migrations/7.0.0.1.165/pre-migration.py b/account_banking_payment_export/migrations/7.0.0.1.165/pre-migration.py index c44d58205..19fdd6b18 100644 --- a/account_banking_payment_export/migrations/7.0.0.1.165/pre-migration.py +++ b/account_banking_payment_export/migrations/7.0.0.1.165/pre-migration.py @@ -21,9 +21,6 @@ def migrate(cr, version): - if not version: - return - cr.execute( "UPDATE payment_line SET communication = communication2, " "communication2 = null "