Browse Source

[UPD] b_shift : attendance sheet form view

pull/143/head
Elouan Le Bars 5 years ago
parent
commit
e50da37aca
  1. 10
      beesdoo_shift/views/attendance_sheet.xml

10
beesdoo_shift/views/attendance_sheet.xml

@ -36,7 +36,7 @@
<field name="name">Expected Shifts List</field>
<field name="model">beesdoo.shift.sheet.expected</field>
<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-success="state == 'done'">
<field name="task_type_id" readonly="True" options="{'no_open': True}"/>
@ -134,8 +134,7 @@
<form create="false" delete="false">
<field name="_barcode_scanned" widget="barcode_handler"/>
<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"
name="validate_with_checks"
string="Validate Sheet"
@ -143,10 +142,7 @@
and you won't be able to add any latecomers.
The counters of those who didn't attend will be updated
and they will get warning emails."
attrs="{'invisible': [('state', '=', 'validated')]}"
/>
</div>
<div class="oe_clear" />
</header>
<sheet >
<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;" />
<field name="added_shift_ids" />
<br/>
<group col="1" string="Feedback"
<group col="3" string="Feedback"
groups="beesdoo_shift.group_shift_attendance">
<field name="notes" />
<field name="feedback" />

Loading…
Cancel
Save