mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] product_contract: pre-commit stuff
This commit is contained in:
@@ -28,7 +28,7 @@ class TestProductTemplate(SavepointCase):
|
|||||||
self.service_product.is_contract = True
|
self.service_product.is_contract = True
|
||||||
self.service_product.property_contract_template_id = self.contract.id
|
self.service_product.property_contract_template_id = self.contract.id
|
||||||
self.service_product.is_contract = False
|
self.service_product.is_contract = False
|
||||||
self.assertEquals(len(self.service_product.property_contract_template_id), 0)
|
self.assertEqual(len(self.service_product.property_contract_template_id), 0)
|
||||||
|
|
||||||
def test_check_contract_product_type(self):
|
def test_check_contract_product_type(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user