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)

This commit is contained in:
Alexis de Lattre
2014-03-23 22:48:12 +01:00
parent 69ced736f4
commit b7345de4d5

View File

@@ -21,9 +21,6 @@
def migrate(cr, version):
if not version:
return
cr.execute(
"UPDATE payment_line SET communication = communication2, "
"communication2 = null "