Browse Source

[ADD] Cannot create worker from field worker_id

pull/63/head
nicolasjamoulle 6 years ago
parent
commit
6b92a32f38
  1. 2
      beesdoo_shift/views/task.xml

2
beesdoo_shift/views/task.xml

@ -98,7 +98,7 @@
<field name="task_template_id" /> <field name="task_template_id" />
<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" options="{'create': false, 'create_edit': false}"/>
<field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}"/> <field name="replaced_id" attrs="{'invisible': [('is_regular', '!=', True)]}"/>
<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" />

Loading…
Cancel
Save