credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05991
Re: [Merge] lp:~akretion-team/openupgrade-addons/61-to-70-document into lp:openupgrade-addons
Review: Needs Information code review
Hi, Alexis,
In a first sight, pre-migration.py doesn't do anything. You need to add this code:
@openupgrade.migrate()
def migrate(cr, version):
openupgrade.rename_columns(cr, column_renames)
But I don't see then what do you do with renamed columns to None on post script. Can you enligthened me?
Regards.
--
https://code.launchpad.net/~akretion-team/openupgrade-addons/61-to-70-document/+merge/221970
Your team OpenUpgrade Committers is subscribed to branch lp:openupgrade-addons.
References