|
@ -36,7 +36,7 @@ |
|
|
<field name="name">Expected Shifts List</field> |
|
|
<field name="name">Expected Shifts List</field> |
|
|
<field name="model">beesdoo.shift.sheet.expected</field> |
|
|
<field name="model">beesdoo.shift.sheet.expected</field> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<tree create="false" delete="false" open="false" |
|
|
|
|
|
|
|
|
<tree create="false" |
|
|
decoration-danger="state in ['absent_0', 'absent_1', 'absent_2'] " |
|
|
decoration-danger="state in ['absent_0', 'absent_1', 'absent_2'] " |
|
|
decoration-success="state == 'done'"> |
|
|
decoration-success="state == 'done'"> |
|
|
<field name="task_type_id" readonly="True" options="{'no_open': True}"/> |
|
|
<field name="task_type_id" readonly="True" options="{'no_open': True}"/> |
|
@ -134,8 +134,7 @@ |
|
|
<form create="false" delete="false"> |
|
|
<form create="false" delete="false"> |
|
|
<field name="_barcode_scanned" widget="barcode_handler"/> |
|
|
<field name="_barcode_scanned" widget="barcode_handler"/> |
|
|
<header> |
|
|
<header> |
|
|
<div class="oe_bold"> |
|
|
|
|
|
<field name="state" widget="statusbar" readonly="True" class="oe_inline"/> |
|
|
|
|
|
|
|
|
<field name="state" widget="statusbar" readonly="True"/> |
|
|
<button type="object" |
|
|
<button type="object" |
|
|
name="validate_with_checks" |
|
|
name="validate_with_checks" |
|
|
string="Validate Sheet" |
|
|
string="Validate Sheet" |
|
@ -143,10 +142,7 @@ |
|
|
and you won't be able to add any latecomers. |
|
|
and you won't be able to add any latecomers. |
|
|
The counters of those who didn't attend will be updated |
|
|
The counters of those who didn't attend will be updated |
|
|
and they will get warning emails." |
|
|
and they will get warning emails." |
|
|
attrs="{'invisible': [('state', '=', 'validated')]}" |
|
|
|
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
|
|
|
<div class="oe_clear" /> |
|
|
|
|
|
</header> |
|
|
</header> |
|
|
<sheet > |
|
|
<sheet > |
|
|
<div class="oe_button_box" name="button_box"> |
|
|
<div class="oe_button_box" name="button_box"> |
|
@ -168,7 +164,7 @@ |
|
|
<separator string="Added Shifts" style="position:relative;padding:0px;margin-top:15px;margin-bottom:0px;" /> |
|
|
<separator string="Added Shifts" style="position:relative;padding:0px;margin-top:15px;margin-bottom:0px;" /> |
|
|
<field name="added_shift_ids" /> |
|
|
<field name="added_shift_ids" /> |
|
|
<br/> |
|
|
<br/> |
|
|
<group col="1" string="Feedback" |
|
|
|
|
|
|
|
|
<group col="3" string="Feedback" |
|
|
groups="beesdoo_shift.group_shift_attendance"> |
|
|
groups="beesdoo_shift.group_shift_attendance"> |
|
|
<field name="notes" /> |
|
|
<field name="notes" /> |
|
|
<field name="feedback" /> |
|
|
<field name="feedback" /> |
|
|