[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 Jean-Charles Drubay
parent 654c45c153
commit 2cd93a819c
8 changed files with 92 additions and 6 deletions

View File

@@ -109,6 +109,7 @@ class TestContractBase(common.SavepointCase):
cls.line_vals
)
cls.acct_line.product_id.is_auto_renew = True
cls.contract.company_id.create_new_line_at_contract_line_renew = True
class TestContract(TestContractBase):