mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
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:
@@ -21,9 +21,6 @@
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
if not version:
|
||||
return
|
||||
|
||||
cr.execute(
|
||||
"UPDATE payment_line SET communication = communication2, "
|
||||
"communication2 = null "
|
||||
|
||||
Reference in New Issue
Block a user