You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
446 B
18 lines
446 B
# -*- coding: utf-8 -*-
|
|
# Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
|
|
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from openupgradelib import openupgrade
|
|
|
|
|
|
column_renames = {
|
|
'pos_config': [
|
|
('require_customer', None),
|
|
]
|
|
}
|
|
|
|
|
|
@openupgrade.migrate()
|
|
def migrate(cr, version):
|
|
openupgrade.rename_columns(cr, column_renames)
|