From be568067fab1f135bc740b35e0fdebb7f78399d6 Mon Sep 17 00:00:00 2001 From: Tristan Cavelier <tristan.cavelier@nexedi.com> Date: Thu, 10 Dec 2015 15:17:22 +0000 Subject: [PATCH] erp5_computer_immobilisation: make computer reference field not editable --- .../Computer_view/my_reference.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_view/my_reference.xml b/bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_view/my_reference.xml index 23b2152142..b184a3f86d 100644 --- a/bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_view/my_reference.xml +++ b/bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_view/my_reference.xml @@ -9,7 +9,9 @@ <item> <key> <string>delegated_list</string> </key> <value> - <list/> + <list> + <string>editable</string> + </list> </value> </item> <item> @@ -69,6 +71,10 @@ <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_reference</string> </value> -- 2.30.9