Browse Source

[FIX] b_shift_attendance: wizard to validate sheet

pull/133/head
Rémy Taymans 5 years ago
parent
commit
e3aa714afc
  1. 2
      beesdoo_shift_attendance/views/attendance_sheet.xml
  2. 2
      beesdoo_shift_attendance/wizard/generate_missing_attendance_sheets.xml
  3. 12
      beesdoo_shift_attendance/wizard/validate_attendance_sheet.xml

2
beesdoo_shift_attendance/views/attendance_sheet.xml

@ -179,7 +179,7 @@
<group>
<field name="max_worker_no" />
</group>
<group col="1" string="Feedback"
<group string="Feedback"
groups="beesdoo_shift.group_shift_attendance">
<field name="attended_worker_no" />
<field name="notes" />

2
beesdoo_shift_attendance/wizard/generate_missing_attendance_sheets.xml

@ -1,5 +1,5 @@
<odoo>
<record model="ir.ui.view" id="validate_attendance_sheet_form">
<record model="ir.ui.view" id="generate_attendance_sheet_form">
<field name="name">Generate Missing Attendance Sheets</field>
<field name="model">beesdoo.shift.generate_missing_attendance_sheets</field>
<field name="arch" type="xml">

12
beesdoo_shift_attendance/wizard/validate_attendance_sheet.xml

@ -6,13 +6,13 @@
<form>
<sheet>
<separator string="Validation"/>
<field name="card_support" invisible="1" />
<field name="active_sheet" invisible="1" />
<field name="card_support" invisible="1"/>
<field name="active_sheet" invisible="1"/>
<field name="_barcode_scanned" widget="barcode_handler"/>
<label for="notes" />
<field name="notes" />
<label for="feedback" />
<field name="feedback" />
<label for="notes"/>
<field name="notes"/>
<label for="feedback"/>
<field name="feedback"/>
<group>
<field name="worker_nb_feedback"/>
</group>

Loading…
Cancel
Save