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
56 lines
1.8 KiB
<odoo>
|
|
<!--
|
|
<record model="ir.ui.view" id="sheet_view_search">
|
|
<field name="name">Attendance Sheet Search</field>
|
|
<field name="model">beesdoo.shift.sheet</field>
|
|
<field name="arch" type="xml">
|
|
<search>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
-->
|
|
|
|
<act_window id="action_sheet_admin_non_validated"
|
|
name="Non-validated sheets"
|
|
res_model="beesdoo.shift.sheet"
|
|
view_mode="tree,form"
|
|
domain="[('state','=','not_validated')]"
|
|
/>
|
|
<!-- Annotated sheets should display only the both annotated and validated ones-->
|
|
<act_window id="action_sheet_admin_annotated"
|
|
name="Unread annotations"
|
|
res_model="beesdoo.shift.sheet"
|
|
view_mode="tree,form"
|
|
domain="[('is_annotated','=',True),
|
|
('is_read','=',False)]"
|
|
/>
|
|
<act_window id="action_sheet_admin_list"
|
|
name="All sheets"
|
|
res_model="beesdoo.shift.sheet"
|
|
view_mode="tree,form"
|
|
/>
|
|
|
|
<!-- Top menu item -->
|
|
<menuitem id="menu_sheet_admin_top"
|
|
name="Attendance Sheets Administration"
|
|
parent="menu_root"
|
|
groups="beesdoo_shift.group_cooperative_admin"
|
|
/>
|
|
|
|
<!-- Menu actions -->
|
|
<menuitem id="menu_sheet_admin_non_validated"
|
|
name="Non-validated sheets"
|
|
parent="menu_sheet_admin_top"
|
|
action="action_sheet_admin_non_validated"
|
|
/>
|
|
<menuitem id="menu_sheet_admin_annotated"
|
|
name="Unread annotations"
|
|
parent="menu_sheet_admin_top"
|
|
action="action_sheet_admin_annotated"
|
|
/>
|
|
<menuitem id="menu_sheet_admin_list"
|
|
name="All sheets"
|
|
parent="menu_sheet_admin_top"
|
|
action="action_sheet_admin_list"
|
|
/>
|
|
</odoo>
|