From a340f1d00bc2e72aa21fb70d7fbbf9c71adc9c65 Mon Sep 17 00:00:00 2001 From: "Sina Chaichi Maleki (cmsi)" Date: Tue, 22 Aug 2023 22:27:08 +0200 Subject: [PATCH] [FIX] hr_holidays: Ensure the name is mandatory in public holidays The name field was previously optional when adding a new instance from the tree view, which in the absence of a name, 'false' is indicated in the calendar view. The field is now set as mandatory. closes odoo/odoo#134433 Task: #3469914 X-original-commit: 732f27c4398ae661ecfc1afb80e656e7c86d8d55 Signed-off-by: Sofie Gvaladze (sgv) --- addons/hr_holidays/views/resource_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_holidays/views/resource_views.xml b/addons/hr_holidays/views/resource_views.xml index e73fc03910f..03ac8af4258 100644 --- a/addons/hr_holidays/views/resource_views.xml +++ b/addons/hr_holidays/views/resource_views.xml @@ -34,6 +34,7 @@ Name + 1 1