Browse Source

[FIX] - date_end required only for contract product

pull/208/head
sbejaoui 6 years ago
committed by Thomas Binsfeld
parent
commit
850f6403da
  1. 2
      product_contract/views/sale_order.xml

2
product_contract/views/sale_order.xml

@ -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']"

Loading…
Cancel
Save