mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[ADD] after openupgrade's rename, we also need to call our hook in the
migration script
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user