Browse Source

Merge pull request #62 from nicolasj77/no_irregular_worker_for_replacement

[IMP] No irregular worker for replacement
pull/66/head
Nicolas Jamoulle 5 years ago
committed by GitHub
parent
commit
1a709dbff6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beesdoo_shift/views/task.xml

2
beesdoo_shift/views/task.xml

@ -99,7 +99,7 @@
<field name="task_type_id" />
<field name="super_coop_id" />
<field name="worker_id" />
<field name="replaced_id" attrs="{'invisible': [('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="working_mode" invisible="1" />
</group>

Loading…
Cancel
Save