You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.5 KiB

  1. <odoo>
  2. <record model="ir.ui.view" id="validate_attendance_sheet_form">
  3. <field name="name">Validate Attendance Sheet</field>
  4. <field name="model">beesdoo.shift.sheet.validate</field>
  5. <field name="arch" type="xml">
  6. <form>
  7. <sheet>
  8. <separator string="Validation"/>
  9. <label string="Beware : a validated sheet cannot be edited anymore
  10. and you won't be able to add any latecomers.
  11. Emails will be sent to workers who did not attend their shift." />
  12. <field name="_barcode_scanned" widget="barcode_handler"/>
  13. <group col="1" string="Additionnal informations" >
  14. <field name="annotation" />
  15. <field name="feedback" />
  16. </group>
  17. <group>
  18. <field name="worker_nb_feedback" />
  19. </group>
  20. <group string="Scan your barcode">
  21. <field name="barcode" />
  22. </group>
  23. </sheet>
  24. <footer>
  25. <button type="object" name="validate_sheet"
  26. string="Confirm" class="oe_highlight" />
  27. or
  28. <button special="cancel" string="Cancel" />
  29. </footer>
  30. </form>
  31. </field>
  32. </record>
  33. </odoo>