From 3f8c62b71f8a87e166b2a6e397f13b6f99597062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 19 Oct 2018 07:24:02 +0200 Subject: [PATCH] support_request_ui: use Base_viewCRMFieldLibrary/my_support_request_date When displaying support request date. --- .../listbox_start_date.xml | 15 ++------------- .../listbox_stop_date.xml | 12 +++++++++--- .../listbox_delivery_start_date.xml | 4 ++-- .../listbox_delivery_stop_date.xml | 12 +++++++++--- .../my_start_date.xml | 2 +- 5 files changed, 23 insertions(+), 22 deletions(-) diff --git a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_start_date.xml b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_start_date.xml index 3149993472..7f44c30f07 100644 --- a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_start_date.xml +++ b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_start_date.xml @@ -10,7 +10,6 @@ <key> <string>delegated_list</string> </key> <value> <list> - <string>default</string> <string>editable</string> </list> </value> @@ -53,10 +52,6 @@ <key> <string>tales</string> </key> <value> <dictionary> - <item> - <key> <string>default</string> </key> - <value> <string></string> </value> - </item> <item> <key> <string>editable</string> </key> <value> <string></string> </value> @@ -80,23 +75,17 @@ <key> <string>values</string> </key> <value> <dictionary> - <item> - <key> <string>default</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>editable</string> </key> <value> <int>0</int> </value> </item> <item> <key> <string>field_id</string> </key> - <value> <string>my_date</string> </value> + <value> <string>my_support_request_start_date</string> </value> </item> <item> <key> <string>form_id</string> </key> - <value> <string>Base_viewFieldLibrary</string> </value> + <value> <string>Base_viewCRMFieldLibrary</string> </value> </item> <item> <key> <string>target</string> </key> diff --git a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_stop_date.xml b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_stop_date.xml index 0d54574732..37d71648c3 100644 --- a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_stop_date.xml +++ b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewForOfficejsSupportRequest/listbox_stop_date.xml @@ -9,7 +9,9 @@ <item> <key> <string>delegated_list</string> </key> <value> - <list/> + <list> + <string>editable</string> + </list> </value> </item> <item> @@ -69,13 +71,17 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> - <value> <string>my_date_time_field</string> </value> + <value> <string>my_support_request_stop_date</string> </value> </item> <item> <key> <string>form_id</string> </key> - <value> <string>Base_viewFieldLibrary</string> </value> + <value> <string>Base_viewCRMFieldLibrary</string> </value> </item> <item> <key> <string>target</string> </key> diff --git a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_start_date.xml b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_start_date.xml index 648d92fa76..d4845ab50a 100644 --- a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_start_date.xml +++ b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_start_date.xml @@ -81,11 +81,11 @@ </item> <item> <key> <string>field_id</string> </key> - <value> <string>my_date</string> </value> + <value> <string>my_support_request_start_date</string> </value> </item> <item> <key> <string>form_id</string> </key> - <value> <string>Base_viewFieldLibrary</string> </value> + <value> <string>Base_viewCRMFieldLibrary</string> </value> </item> <item> <key> <string>target</string> </key> diff --git a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_stop_date.xml b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_stop_date.xml index 9baea89d8d..cffea6041e 100644 --- a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_stop_date.xml +++ b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_viewLastSupportRequestList/listbox_delivery_stop_date.xml @@ -9,7 +9,9 @@ <item> <key> <string>delegated_list</string> </key> <value> - <list/> + <list> + <string>editable</string> + </list> </value> </item> <item> @@ -69,13 +71,17 @@ <key> <string>values</string> </key> <value> <dictionary> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>field_id</string> </key> - <value> <string>my_date_time_field</string> </value> + <value> <string>my_support_request_stop_date</string> </value> </item> <item> <key> <string>form_id</string> </key> - <value> <string>Base_viewFieldLibrary</string> </value> + <value> <string>Base_viewCRMFieldLibrary</string> </value> </item> <item> <key> <string>target</string> </key> diff --git a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_start_date.xml b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_start_date.xml index 615de45110..276ef742f5 100644 --- a/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_start_date.xml +++ b/bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequest_viewForOfficejsSupportRequest/my_start_date.xml @@ -77,7 +77,7 @@ </item> <item> <key> <string>field_id</string> </key> - <value> <string>my_ticket_start_date</string> </value> + <value> <string>my_support_request_start_date</string> </value> </item> <item> <key> <string>form_id</string> </key> -- 2.30.9