mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] - improve is contract visibility in product view
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@name='options']" position="inside">
|
<xpath expr="//div[@name='options']" position="inside">
|
||||||
<div>
|
<div attrs="{'invisible': [('type', '!=', 'service')],}">
|
||||||
<field name="is_contract"/>
|
<field name="is_contract"/>
|
||||||
<label for="is_contract"/>
|
<label for="is_contract"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user