[FIX] product_contract: set 'Contract template' field company depend

This commit is contained in:
Ernesto Tejeda
2020-02-11 12:27:33 -05:00
committed by Adasat
parent f4f2576d86
commit 49c85c197b
7 changed files with 105 additions and 33 deletions

View File

@@ -24,8 +24,7 @@
name="contract"
attrs="{'invisible': [('is_contract', '=', False)],}">
<group>
<field name="contract_template_id"
attrs="{'required':[('is_contract', '=', True)]}"/>
<field name="property_contract_template_id"/>
</group>
<group name="recurrence_info">
<group>