Created
May 24, 2019 05:57
-
-
Save CakJuice/30281e8691437794218f9daabd97ac64 to your computer and use it in GitHub Desktop.
Odoo 12 custom report wizard view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<odoo> | |
<record model="ir.ui.view" id="attendance_recap_report_wizard"> | |
<field name="name">HR Attendance Custom Recap Report</field> | |
<field name="model">attendance.recap.report.wizard</field> | |
<field name="type">form</field> | |
<field name="arch" type="xml"> | |
<form string="Attendance Recap Report"> | |
<group> | |
<group> | |
<field name="date_start"/> | |
</group> | |
<group> | |
<field name="date_end"/> | |
</group> | |
</group> | |
<footer> | |
<button name="get_report" string="Get Report" type="object" class="oe_highlight"/> | |
<button string="Cancel" special="cancel"/> | |
</footer> | |
</form> | |
</field> | |
</record> | |
<act_window id="action_attendance_recap_report_wizard" | |
name="Attendance Recap Report" | |
res_model="attendance.recap.report.wizard" | |
view_mode="form" | |
target="new"/> | |
<menuitem action="action_attendance_recap_report_wizard" | |
id="menu_attendance_report_wizard" | |
parent="hr_attendance.menu_hr_attendance_report"/> | |
</odoo> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment