mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] - date_end required only for contract product
This commit is contained in:
committed by
Thomas Binsfeld
parent
133dd1e42b
commit
850f6403da
@@ -55,7 +55,7 @@
|
||||
attrs="{'required': [('is_contract', '=', True)]}"/>
|
||||
</group>
|
||||
<group attrs="{'invisible': [('is_contract', '=', False)]}">
|
||||
<field name="date_end" required="True"/>
|
||||
<field name="date_end" attrs="{'required': [('is_contract', '=', True)]}"/>
|
||||
</group>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='order_line']/tree//field[@name='price_total']"
|
||||
|
||||
Reference in New Issue
Block a user