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.

35 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. <div class="oe_title">
  9. <h1>Validation</h1>
  10. </div>
  11. <label string="Beware : a validated sheet cannot be edited anymore
  12. and you won't be able to add any latecomers.
  13. Emails will be sent to workers who did not attend their shift." />
  14. <field name="_barcode_scanned" widget="barcode_handler"/>
  15. <group col="1" string="Additionnal informations" >
  16. <field name="annotation" />
  17. <field name="feedback" />
  18. </group>
  19. <group>
  20. <field name="worker_nb_feedback" />
  21. </group>
  22. <group string="Scan your barcode">
  23. <field name="barcode" />
  24. </group>
  25. </sheet>
  26. <footer>
  27. <button type="object" name="validate_sheet"
  28. string="Confirm" class="oe_highlight" />
  29. or
  30. <button special="cancel" string="Cancel" />
  31. </footer>
  32. </form>
  33. </field>
  34. </record>
  35. </odoo>