Skip to content
Snippets Groups Projects
Commit 99ee8dfb authored by migodoo's avatar migodoo
Browse files

[fix] migration script

parent 4b600f54
No related branches found
No related tags found
No related merge requests found
# © 2022 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
column_renames = {
"res_partner": [("percent_realisation", None)],
}
@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_columns(env.cr, column_renames)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment