mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
11 lines
294 B
Python
11 lines
294 B
Python
# Copyright (C) 2020 Serpent Consulting Services
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
def migrate(env, version):
|
|
if not version:
|
|
return
|
|
|
|
env.execute("UPDATE agreement_stage SET stage_type = 'agreement' "
|
|
"WHERE stage_type IS NULL;")
|