9
<record model="ir.ui.view" id="view_hotel_restaurant_status_tree">
10
<field name="name">report.hotel.restaurant.status.tree</field>
11
<field name="model">report.hotel.restaurant.status</field>
12
<field name="type">tree</field>
13
<field name="arch" type="xml">
14
<tree string="States By restaurant">
15
<field name="reservation_id"/>
20
<record model="ir.ui.view" id="view_hotel_restaurant_status_form">
21
<field name="name">report.hotel.restaurant.status.form</field>
22
<field name="model">report.hotel.restaurant.status</field>
23
<field name="type">form</field>
24
<field name="arch" type="xml">
25
<form string="States By restaurant">
26
<field name="reservation_id"/>
32
<record model="ir.ui.view" id="view_hotel_restaurant_status_graph">
33
<field name="name">report.hotel.restaurant.status.graph</field>
34
<field name="model">report.hotel.restaurant.status</field>
35
<field name="type">graph</field>
36
<field name="arch" type="xml">
37
<graph string="States By restaurant" type="pie">
39
<field name="nbr" operator="+"/>
45
<record model="ir.ui.view" id="view_hotel_restaurant_status_graph_bar">
46
<field name="name">report.hotel.restaurant.status.graph</field>
47
<field name="model">report.hotel.restaurant.status</field>
48
<field name="type">graph</field>
49
<field name="arch" type="xml">
50
<graph string="States By restaurant" type="bar" orientation="verticle">
52
<field name="nbr" operator="+"/>
58
<record model="ir.actions.act_window" id="action_report_hotel_restaurant_status_tree_graph">
59
<field name="name">States By Restaurant</field>
60
<field name="res_model">report.hotel.restaurant.status</field>
61
<field name="view_type">form</field>
62
<field name="view_mode">graph,tree</field>
66
<menuitem name="Hotel Restaurant/Reporting/This Month/States By restaurant" action="action_report_hotel_restaurant_status_tree_graph" id="menu_hotel_restaurant_status_tree_graph"/>
68
<record model="ir.actions.act_window" id="action_report_hotel_restaurant_status_tree_graph_bar">
69
<field name="name">States By Restaurant</field>
70
<field name="res_model">report.hotel.restaurant.status</field>
71
<field name="view_type">form</field>
72
<field name="view_mode">graph,tree</field>
73
<field name = "view_id" ref="view_hotel_restaurant_status_graph_bar"/>
77
<menuitem name="Hotel Restaurant/Reporting/This Month/States By Restaurant" action="action_report_hotel_restaurant_status_tree_graph_bar" id="menu_hotel_restaurant_status_tree_graph_bar"/>