[FIX] agreement_legal

This commit is contained in:
Murtuza Saleh
2020-05-05 13:23:19 +05:30
parent 1b688ab950
commit aa28dfa58f
2 changed files with 11 additions and 1 deletions

View 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;")