[ADD] - Add more value for auto_renew_rule_type

[REF] - refactoring for compute_first_date_end

[RMV] - remove auto_renew_rule_type option monthlylastday

[IMP] - rename manual_renew_needed label

[IMP] - use get_product_multiline_description_sale to get contract line description
This commit is contained in:
sbejaoui
2019-01-24 12:09:13 +01:00
committed by Christopher Rogos
parent 09ce4005d7
commit 19f9587025
5 changed files with 28 additions and 25 deletions

View File

@@ -494,10 +494,7 @@ class TestContract(TestContractBase):
line.product_id.description_sale = 'Test'
line._onchange_product_id()
self.assertEqual(
line.name,
'\n'.join(
[line.product_id.name, line.product_id.description_sale]
),
line.name, line.product_id.get_product_multiline_description_sale()
)
def test_contract_count(self):