From b0c7d888c5c09fd27de1b2d57239685e38760a02 Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Thu, 19 Jan 2023 16:40:09 +0000 Subject: [PATCH] [IMP] fleet: add form view for fleet.vehicle.cost.report model before this commit, form view for the model fleet.vehicle.cost.report model was not defined, thus on opening the form view of this model shows odoo generated form view. after this commit, as the form view is added for the model, on opening the form, clean form will be displayed. also in the file, there is a record with wrongly aligned corrected that and set create="0" attribute in tree to hide the new/create button. closes odoo/odoo#110450 Signed-off-by: Kevin Baptiste --- addons/fleet/views/fleet_board_view.xml | 56 ++++++++++++++++++------- 1 file changed, 41 insertions(+), 15 deletions(-) diff --git a/addons/fleet/views/fleet_board_view.xml b/addons/fleet/views/fleet_board_view.xml index 95b4ab63c95..2d503479e08 100644 --- a/addons/fleet/views/fleet_board_view.xml +++ b/addons/fleet/views/fleet_board_view.xml @@ -49,7 +49,7 @@ fleet.vehicle.cost.report.view.tree fleet.vehicle.cost.report - + @@ -61,21 +61,47 @@ - - Costs Analysis - fleet.vehicle.cost.report - graph,pivot - - - - -

- No data for analysis -

- Manage efficiently your different effective vehicles Costs with Odoo. -

-
+ + fleet.vehicle.cost.report.form + fleet.vehicle.cost.report + +
+ + + + + + + + + + + + + + + +
+
+ + + Costs Analysis + fleet.vehicle.cost.report + graph,pivot + + + + +

+ No data for analysis +

+

+ Manage efficiently your different effective vehicles Costs with Odoo. +

+
+
+