Browse Source

[ADD] b_shift : domain on attendance shifts

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
8a0c340421
  1. 1
      beesdoo_shift/views/attendance_sheet.xml

1
beesdoo_shift/views/attendance_sheet.xml

@ -59,6 +59,7 @@
<field name="task_type_id" <field name="task_type_id"
options="{'no_open': True, 'no_create': True, 'no_create_edit':True }" /> options="{'no_open': True, 'no_create': True, 'no_create_edit':True }" />
<field name="worker_id" <field name="worker_id"
domain="[('state','in',['alert', 'ok'])]"
options="{'no_open': True, 'no_create': True, 'no_create_edit':True }" /> options="{'no_open': True, 'no_create': True, 'no_create_edit':True }" />
<field name="working_mode" /> <field name="working_mode" />
<field name="is_compensation" <field name="is_compensation"

Loading…
Cancel
Save