From 687d79f885a908bbda4713d3f27cd129719e85c0 Mon Sep 17 00:00:00 2001
From: Xiaowu Zhang <xiaowu.zhang@nexedi.com>
Date: Fri, 5 Jul 2019 08:26:27 +0000
Subject: [PATCH] erp5_pdm: display correct related supply line when jump to
 "Related Supply Lines"

in Base_jumpToRelatedObject, the selection used is "Base_jumpToRelatedObjectList"
which is not the one defined in Resource_viewRelatedSupplyLineList/listbox, thus, it displayed some not related supply line
---
 .../erp5_pdm/Resource_viewRelatedSupplyLineList/listbox.xml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewRelatedSupplyLineList/listbox.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewRelatedSupplyLineList/listbox.xml
index 2f071258d1..47ff7a3fed 100644
--- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewRelatedSupplyLineList/listbox.xml
+++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewRelatedSupplyLineList/listbox.xml
@@ -536,7 +536,7 @@
                 </item>
                 <item>
                     <key> <string>selection_name</string> </key>
-                    <value> <string>resource_view_related_supply_line_list_selection</string> </value>
+                    <value> <string>Base_jumpToRelatedObjectList</string> </value>
                 </item>
                 <item>
                     <key> <string>sort</string> </key>
-- 
2.30.9