diff --git a/account_bank_statement_import/migrations/8.0.1.0/post-migrate.py b/account_bank_statement_import/migrations/8.0.1.0/post-migrate.py index ff2ee0f..bacd580 100644 --- a/account_bank_statement_import/migrations/8.0.1.0/post-migrate.py +++ b/account_bank_statement_import/migrations/8.0.1.0/post-migrate.py @@ -21,6 +21,8 @@ def migrate(cr, version): + if not version: + return # if we end up here, we migrate from 7.0's account_banking # set transaction ids, taking care to enforce uniqueness cr.execute(