From 1a62c2ed475d74c30222c30ec79aa4bdcdbca184 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 15 Jul 2019 14:39:00 +0000 Subject: [PATCH] [FIX] fleet: recurring cost => required expiration If "Recurring Cost Amount" is set on a frequency and the date field "Contract Expiration Date" is not set, the configuration makes no sense since we would have an infinite cost, and infinite fleet.vehicle.cost records and so on which is not possible. With this changeset, the expiration will be required if there is a recurring cost set. opw-2036071 closes #34883 Signed-off-by: Nicolas Lempereur (nle) --- addons/fleet/views/fleet_vehicle_cost_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/fleet/views/fleet_vehicle_cost_views.xml b/addons/fleet/views/fleet_vehicle_cost_views.xml index 26429043e84..ee4fe6b343e 100644 --- a/addons/fleet/views/fleet_vehicle_cost_views.xml +++ b/addons/fleet/views/fleet_vehicle_cost_views.xml @@ -207,7 +207,7 @@ - +