Browse Source

[ADD] Cannot create worker from field worker_id

pull/105/head
nicolasjamoulle 6 years ago
committed by Elouan
parent
commit
a8247fbf69
  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_type_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="is_regular" attrs="{'invisible': [('working_mode', '=', 'irregular')]}"/>
<field name="working_mode" invisible="1" />

Loading…
Cancel
Save