Browse Source

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

pull/22/head
Thibault Francois 7 years ago
parent
commit
1493ff4169
  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