Browse Source

[FIX] change domain arguments

pull/62/head
nicolasjamoulle 6 years ago
parent
commit
759e5e3cda
  1. 2
      beesdoo_shift/views/task.xml

2
beesdoo_shift/views/task.xml

@ -99,7 +99,7 @@
<field name="task_type_id" /> <field name="task_type_id" />
<field name="super_coop_id" /> <field name="super_coop_id" />
<field name="worker_id" /> <field name="worker_id" />
<field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}" domain="[('is_regular', '=', True)]"/>
<field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}" domain="[('working_mode', '=', 'regular')]"/>
<field name="is_regular" attrs="{'invisible': [('working_mode', '=', 'irregular')]}"/> <field name="is_regular" attrs="{'invisible': [('working_mode', '=', 'irregular')]}"/>
<field name="working_mode" invisible="1" /> <field name="working_mode" invisible="1" />
</group> </group>

Loading…
Cancel
Save