diff --git a/account_payment_mode/migrations/9.0.1.0.0/pre-migration.py b/account_payment_mode/migrations/9.0.1.0.0/pre-migration.py new file mode 100644 index 000000000..d63e5d200 --- /dev/null +++ b/account_payment_mode/migrations/9.0.1.0.0/pre-migration.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# © 2016 Therp BV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openerp.addons.account_payment_mode.hooks import migrate_from_8 + + +def migrate(cr, version=None): + # also support cases where openupgrade renamed the old module + migrate_from_8(cr)