Browse Source

[FIX] Subscription: don't have to choose a shift when choosing a work mode

pull/105/head
Thibault Francois 7 years ago
committed by Elouan
parent
commit
e940fc5ce3
  1. 2
      beesdoo_shift/wizard/subscribe.xml

2
beesdoo_shift/wizard/subscribe.xml

@ -14,7 +14,7 @@
<field name="info_session_date" /> <field name="info_session_date" />
<field name="working_mode" /> <field name="working_mode" />
<field name="exempt_reason_id" attrs="{'invisible':[('working_mode', '!=', 'exempt')]}"/> <field name="exempt_reason_id" attrs="{'invisible':[('working_mode', '!=', 'exempt')]}"/>
<field name="shift_id" domain="[('remaining_worker', '>', 0)]" attrs="{'invisible': [('working_mode', '!=', 'regular')], 'required': [('working_mode', '=', 'regular')]}"/>
<field name="shift_id" domain="[('remaining_worker', '>', 0)]" attrs="{'invisible': [('working_mode', '!=', 'regular')]}"/>
<field name="super" /> <field name="super" />
<field name="reset_counter" /> <field name="reset_counter" />
<field name="reset_compensation_counter" /> <!-- TODO access right --> <field name="reset_compensation_counter" /> <!-- TODO access right -->

Loading…
Cancel
Save