Files
contract/contract/migrations/12.0.5.0.1/post-migration.py
sbejaoui c7365b028f [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
2019-12-23 16:49:18 +01:00

8 lines
166 B
Python

def migrate(cr, version):
cr.execute(
"""\
UPDATE res_company
SET create_new_line_at_contract_line_renew = true
"""
)