Browse Source

[ADD] b_shift : attendance sheet search view

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
5c5c632092
  1. 27
      beesdoo_shift/views/attendance_sheet.xml

27
beesdoo_shift/views/attendance_sheet.xml

@ -2,6 +2,33 @@
<!-- Attendance Sheet Shifts Views --> <!-- Attendance Sheet Shifts Views -->
<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>
<field name="name" />
<field name="start_time" />
<field name="end_time" />
<field name="default_super_coop_id" />
<field name="validated_by" />
<filter string="Annotated (unread)"
domain="[('is_annotated', '=', True),
('is_read', '=', False)]" />
<filter string="Annotated (read)"
domain="[('is_annotated', '=', True),
('is_read', '=', True)]" />
<separator />
<filter string="Archived"
domain="[('active', '=', False)]" />
<group expand="1" string="Group By">
<filter string="Day" name="gb_day"
context="{'group_by' : 'start_time:day'}" />
</group>
</search>
</field>
</record>
<record model="ir.ui.view" id="sheet_expected_view_tree"> <record model="ir.ui.view" id="sheet_expected_view_tree">
<field name="name">Expected Shifts List</field> <field name="name">Expected Shifts List</field>
<field name="model">beesdoo.shift.sheet.expected</field> <field name="model">beesdoo.shift.sheet.expected</field>

Loading…
Cancel
Save