mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] agreement_legal
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
"website": "https://github.com/OCA/contract",
|
"website": "https://github.com/OCA/contract",
|
||||||
"category": "Partner",
|
"category": "Partner",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"version": "12.0.1.4.1",
|
"version": "12.0.2.0.0",
|
||||||
"depends": ["contacts", "agreement", "product"],
|
"depends": ["contacts", "agreement", "product"],
|
||||||
"data": [
|
"data": [
|
||||||
"data/ir_sequence.xml",
|
"data/ir_sequence.xml",
|
||||||
|
|||||||
10
agreement_legal/migrations/12.0.2.0.0/post-migration.py
Normal file
10
agreement_legal/migrations/12.0.2.0.0/post-migration.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# 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;")
|
||||||
Reference in New Issue
Block a user