mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[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:
committed by
Jean-Charles Drubay
parent
654c45c153
commit
2cd93a819c
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user