mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
IMP maintenance_usage Maintenance team require when Preventative Usage set not 0.
This commit is contained in:
@@ -38,6 +38,9 @@
|
|||||||
<xpath expr="//group[@name='maintenance']" position="inside">
|
<xpath expr="//group[@name='maintenance']" position="inside">
|
||||||
<field name="maintenance_usage"/>
|
<field name="maintenance_usage"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//field[@name='maintenance_team_id']" position="attributes">
|
||||||
|
<attribute name="attrs">{'required': ['|', ('period', '!=', 0), ('maintenance_usage', '!=', 0)]}</attribute>
|
||||||
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user