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.

46 lines
1.5 KiB

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