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.

56 lines
1.8 KiB

  1. <odoo>
  2. <!--
  3. <record model="ir.ui.view" id="sheet_view_search">
  4. <field name="name">Attendance Sheet Search</field>
  5. <field name="model">beesdoo.shift.sheet</field>
  6. <field name="arch" type="xml">
  7. <search>
  8. </search>
  9. </field>
  10. </record>
  11. -->
  12. <act_window id="action_sheet_admin_non_validated"
  13. name="Non-validated sheets"
  14. res_model="beesdoo.shift.sheet"
  15. view_mode="tree,form"
  16. domain="[('state','=','not_validated')]"
  17. />
  18. <!-- Annotated sheets should display only the both annotated and validated ones-->
  19. <act_window id="action_sheet_admin_annotated"
  20. name="Unread annotations"
  21. res_model="beesdoo.shift.sheet"
  22. view_mode="tree,form"
  23. domain="[('is_annotated','=',True),
  24. ('is_read','=',False)]"
  25. />
  26. <act_window id="action_sheet_admin_list"
  27. name="All sheets"
  28. res_model="beesdoo.shift.sheet"
  29. view_mode="tree,form"
  30. />
  31. <!-- Top menu item -->
  32. <menuitem id="menu_sheet_admin_top"
  33. name="Attendance Sheets Administration"
  34. parent="menu_root"
  35. groups="beesdoo_shift.group_cooperative_admin"
  36. />
  37. <!-- Menu actions -->
  38. <menuitem id="menu_sheet_admin_non_validated"
  39. name="Non-validated sheets"
  40. parent="menu_sheet_admin_top"
  41. action="action_sheet_admin_non_validated"
  42. />
  43. <menuitem id="menu_sheet_admin_annotated"
  44. name="Unread annotations"
  45. parent="menu_sheet_admin_top"
  46. action="action_sheet_admin_annotated"
  47. />
  48. <menuitem id="menu_sheet_admin_list"
  49. name="All sheets"
  50. parent="menu_sheet_admin_top"
  51. action="action_sheet_admin_list"
  52. />
  53. </odoo>