We would like to make the "no item found" screens more appealing.
Before this commit, it shows a small help tip in the top-left
corner of the screen, just below the "Create" button.
With this commit, these help tips have been replaced by onboarding
screens, which consist of a picture and some text below, both of which
are horizontally centered.
The texts have been slightly changed, so that they are shorter and clearer.
Considered modules:
(A)
account,
account_asset,
account_budget,
account_test,
account_voucher,
analytic
(B)
barcodes,
base,
base_automation,
board
(C)
calendar,
contacts,
crm
(D)
delivery
(E)
event
(F)
fleet
(G)
gamification,
google_drive
(H)
hr,
hr_attendance,
hr_contract,
hr_expense,
hr_gamification,
hr_holidays,
hr_payroll,
hr_recruitment,
hr_timesheet
(I)
im_livechat
(L)
l10n_fr_sale_closing,
link_tracker,
lunch
(M)
mail,
maintenance,
mass_mailing,
membership,
mrp
(N)
note
(P)
payment,
point_of_sale,
post_mercury,
pos_restaurant,
product,
project,
purchase,
purchase_requisition
(R)
rating,
repair,
resource
(S)
sale,
sale_timesheet,
sales_team,
stock,
stock_account,
stock_landed_costs,
stock_picking_batch,
survey
(U)
utm
(W)
web,
website,
website_blog,
website_customer,
website_event_track,
website_forum,
website_quote,
website_sale,
website_sale_digital,
website_slides
82 lines
3.8 KiB
XML
82 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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>
|
|
<field name="view_mode">graph,pivot</field>
|
|
<field name="view_id"></field> <!-- force empty -->
|
|
<field name="context">{"search_default_parent_false" : True,}</field>
|
|
<field name="help" type="html">
|
|
<p class="o_view_nocontent_empty_folder">
|
|
No data for analysis
|
|
</p><p>
|
|
Odoo helps you managing the costs for your different vehicles
|
|
Costs are generally created from services and contract and appears here.
|
|
</p><p>
|
|
Thanks to the different filters, Odoo can only print the effective
|
|
costs, sort them by type and by vehicle.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
<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_cost_view_pivot"/>
|
|
<field name="act_window_id" ref="fleet_costs_reporting_action"/>
|
|
</record>
|
|
<record id="fleet_reporting_graph_action" model="ir.actions.act_window.view">
|
|
<field name="sequence" eval="1"/>
|
|
<field name="view_mode">graph</field>
|
|
<field name="view_id" ref="fleet_vehicle_cost_view_graph"/>
|
|
<field name="act_window_id" ref="fleet_costs_reporting_action"/>
|
|
</record>
|
|
|
|
<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>
|
|
<field name="view_mode">graph,pivot</field>
|
|
<field name="view_id"></field> <!-- force empty -->
|
|
<field name="context">{"search_default_parent_true" : True,}</field>
|
|
<field name="help" type="html">
|
|
<p class="o_view_nocontent_empty_folder">
|
|
No data for analysis
|
|
</p><p>
|
|
Odoo helps you managing the costs for your different vehicles
|
|
Costs are generally created from services and contract and appears here.
|
|
</p><p>
|
|
Thanks to the different filters, Odoo can only print the effective
|
|
costs, sort them by type and by vehicle.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
<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_cost_indicative_view_pivot"/>
|
|
<field name="act_window_id" ref="fleet_costs_reporting_non_effective_action"/>
|
|
</record>
|
|
<record id="view_fleet_non_effective_graph_action" model="ir.actions.act_window.view">
|
|
<field name="sequence" eval="1"/>
|
|
<field name="view_mode">graph</field>
|
|
<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="Reporting" 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="fleet_costs_reporting_action"
|
|
sequence="1"
|
|
groups="fleet_group_manager"/>
|
|
<menuitem id="menu_fleet_reporting_indicative_costs"
|
|
name="Indicative Costs"
|
|
parent="menu_fleet_reporting"
|
|
action="fleet_costs_reporting_non_effective_action"
|
|
sequence="2"
|
|
groups="fleet_group_manager"/>
|
|
</odoo>
|