credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05560
Re: [Merge] lp:~savoirfairelinux-openerp/openupgrade-addons/7.0 into lp:openupgrade-addons
Hi Sandy, to retrieve the legacy name for columns or tables, you can use
openupgrade.get_legacy_name(existing_table_or_column_name)
In rename_columns, you can specify (existing_column_name, None). That will call get_legacy_name internally.
--
https://code.launchpad.net/~savoirfairelinux-openerp/openupgrade-addons/7.0/+merge/190413
Your team OpenUpgrade Committers is subscribed to branch lp:openupgrade-addons.
References