[ADD] after openupgrade's rename, we also need to call our hook in the

migration script
This commit is contained in:
Holger Brunn
2016-12-30 18:20:31 +01:00
parent 3d6edb4051
commit 1f11314e2e

View File

@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
# © 2016 Therp BV <http://therp.nl>
# 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)