[12.0][IMP] - add new option: create_new_line_at_contract_line_renew

Add a company config option to decide whether to create or to extend contract
line at renew action
This commit is contained in:
sbejaoui
2019-12-20 11:03:38 +01:00
committed by Pedro M. Baeza
parent 5d846a196b
commit 8bb7e73c5e
8 changed files with 92 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
def migrate(cr, version):
cr.execute(
"""\
UPDATE res_company
SET create_new_line_at_contract_line_renew = true
"""
)