mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
Update agreement_serviceprofile/views/agreement_serviceprofile.xml
Co-authored-by: Bhavesh Odedra <bodedra@opensourceintegrators.com>
This commit is contained in:
committed by
Patrick Wilson
parent
44d4098739
commit
9d909f4f00
@@ -48,7 +48,7 @@
|
||||
<field name="agreement_id"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="product_id" attrs="{'invisible': [('use_product_variant', '!=', False)], 'required': [('use_product_variant','=', False)]}"/>
|
||||
<field name="product_id" context="{'default_is_serviceprofile': True, 'default_type': 'service'}" attrs="{'invisible': [('use_product_variant', '!=', False)], 'required': [('use_product_variant','=', False)]}"/>
|
||||
<field name="product_variant_id" attrs="{'invisible': [('use_product_variant', '=', False)], 'required': [('use_product_variant','!=', False)]}"/>
|
||||
<field name="use_product_variant"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user