diff options
Diffstat (limited to 'addons/fleet/views/fleet_board_view.xml')
| -rw-r--r-- | addons/fleet/views/fleet_board_view.xml | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/addons/fleet/views/fleet_board_view.xml b/addons/fleet/views/fleet_board_view.xml index dd97066325b..c1482eafbd8 100644 --- a/addons/fleet/views/fleet_board_view.xml +++ b/addons/fleet/views/fleet_board_view.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<openerp> -<data> - <record model="ir.actions.act_window" id="action_fleet_reporting_costs"> +<odoo> + <record id="fleet_costs_reporting_action" model="ir.actions.act_window"> <field name="name">Costs Analysis</field> <field name="res_model">fleet.vehicle.cost</field> <field name="view_type">form</field> @@ -19,20 +18,20 @@ </p> </field> </record> - <record model="ir.actions.act_window.view" id="action_view_fleet_reporting_pivot"> + <record id="fleet_reporting_pivot_action" model="ir.actions.act_window.view"> <field name="sequence" eval="2"/> <field name="view_mode">pivot</field> - <field name="view_id" ref="fleet_vehicle_effective_costs_report_pivot"/> - <field name="act_window_id" ref="action_fleet_reporting_costs"/> + <field name="view_id" ref="fleet_vehicle_cost_view_pivot"/> + <field name="act_window_id" ref="fleet_costs_reporting_action"/> </record> - <record model="ir.actions.act_window.view" id="action_view_fleet_reporting_graph"> + <record id="fleet_reporting_graph_action" model="ir.actions.act_window.view"> <field name="sequence" eval="2"/> <field name="view_mode">graph</field> - <field name="view_id" ref="fleet_vehicle_effective_costs_report"/> - <field name="act_window_id" ref="action_fleet_reporting_costs"/> + <field name="view_id" ref="fleet_vehicle_cost_view_graph"/> + <field name="act_window_id" ref="fleet_costs_reporting_action"/> </record> - <record model="ir.actions.act_window" id="action_fleet_reporting_costs_non_effective"> + <record id="fleet_costs_reporting_non_effective_action" model="ir.actions.act_window"> <field name="name">Indicative Costs Analysis</field> <field name="res_model">fleet.vehicle.cost</field> <field name="view_type">form</field> @@ -50,33 +49,32 @@ </p> </field> </record> - <record model="ir.actions.act_window.view" id="action_view_fleet_non_effective_pivot"> + <record id="view_fleet_non_effective_pivot_action" model="ir.actions.act_window.view"> <field name="sequence" eval="2"/> <field name="view_mode">pivot</field> - <field name="view_id" ref="fleet_vehicle_indicative_costs_report_pivot"/> - <field name="act_window_id" ref="action_fleet_reporting_costs_non_effective"/> + <field name="view_id" ref="fleet_vehicle_cost_indicative_view_pivot"/> + <field name="act_window_id" ref="fleet_costs_reporting_non_effective_action"/> </record> - <record model="ir.actions.act_window.view" id="action_view_fleet_non_effective_graph"> + <record id="view_fleet_non_effective_graph_action" model="ir.actions.act_window.view"> <field name="sequence" eval="2"/> <field name="view_mode">graph</field> - <field name="view_id" ref="fleet_vehicle_indicative_costs_report"/> - <field name="act_window_id" ref="action_fleet_reporting_costs_non_effective"/> + <field name="view_id" ref="fleet_vehicle_cost_indicative_view_graph"/> + <field name="act_window_id" ref="fleet_costs_reporting_non_effective_action"/> </record> - <menuitem name="Reports" parent="menu_root" id="menu_fleet_reporting" sequence="99" groups="group_fleet_manager"/> + <menuitem name="Reports" parent="menu_root" id="menu_fleet_reporting" sequence="99" groups="fleet_group_manager"/> <menuitem id="menu_fleet_reporting_costs" name="Costs" parent="menu_fleet_reporting" - action="action_fleet_reporting_costs" + action="fleet_costs_reporting_action" sequence="1" - groups="group_fleet_manager"/> + groups="fleet_group_manager"/> <menuitem id="menu_fleet_reporting_indicative_costs" name="Indicative Costs" parent="menu_fleet_reporting" - action="action_fleet_reporting_costs_non_effective" + action="fleet_costs_reporting_non_effective_action" sequence="2" - groups="group_fleet_manager"/> -</data> -</openerp> + groups="fleet_group_manager"/> +</odoo> |
