Skip to content

Commit

Permalink
[ADD] show pivot view first in attendance analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Sep 25, 2023
1 parent f63ec5d commit dffc92a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions verdigado_attendance/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"security/verdigado_attendance.xml",
"security/ir.model.access.csv",
"views/hr_attendance_view.xml",
"views/hr_attendance_report.xml",
"views/hr_leave_type.xml",
"views/hr_menu_human_resources_configuration.xml",
],
Expand Down
17 changes: 17 additions & 0 deletions verdigado_attendance/views/hr_attendance_report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Hunki Enterprises BV
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
<data>
<record
id="hr_attendance.hr_attendance_report_action"
model="ir.actions.act_window"
>
<field name="view_mode">pivot,graph</field>
</record>
<record
id="hr_attendance.hr_attendance_report_action_filtered"
model="ir.actions.act_window"
>
<field name="view_mode">pivot,graph</field>
</record>
</data>

0 comments on commit dffc92a

Please sign in to comment.