Elouan Le Bars
5 years ago
5 changed files with 42 additions and 54 deletions
-
1beesdoo_shift/__openerp__.py
-
44beesdoo_shift/views/attendance_sheet.xml
-
46beesdoo_shift/views/attendance_sheet_admin.xml
-
2beesdoo_shift/views/planning.xml
-
3beesdoo_shift/views/task_template.xml
@ -1,46 +0,0 @@ |
|||||
<odoo> |
|
||||
|
|
||||
<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> |
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue