2018-04-12 18:25:57 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Copyright 2018 Youssef El Ouahby <youssef@yaltik.com>
|
|
|
|
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2018-04-11 21:27:07 +02:00
|
|
|
<odoo>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Actions -->
|
2018-05-25 18:18:49 +02:00
|
|
|
<record model="ir.actions.act_window" id="reservation_resource_day_action">
|
2018-05-25 11:42:48 +02:00
|
|
|
<field name="name">Resources Reports</field>
|
|
|
|
<field name="res_model">golem.resource.report.wizard</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="golem_resource_report_wizard_view_form" />
|
|
|
|
<field name="context">{}</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
2018-04-11 21:27:07 +02:00
|
|
|
|
|
|
|
<!-- Menus -->
|
2018-05-25 18:18:49 +02:00
|
|
|
<menuitem id="report_menu" name="Report"
|
|
|
|
parent="golem_resource.golem_resource_menu" sequence="80" />
|
|
|
|
<menuitem id="reservation_resource_day_menu"
|
|
|
|
name="Reservations per resource and day" parent="report_menu"
|
|
|
|
action="reservation_resource_day_action" sequence="10" />
|
2018-04-11 21:27:07 +02:00
|
|
|
|
2018-05-25 11:42:48 +02:00
|
|
|
</data>
|
|
|
|
</odoo>
|