From e3d7a996eaa24f92d1b0f15825ef1245a767e169 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Wed, 3 Feb 2010 02:27:15 +0000
Subject: [PATCH] use getParentValue instead of getParent

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32194 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../QuantityUnitConversionDefinition_view/my_quantity_unit.xml  | 2 +-
 .../standard_quantity_unit.xml                                  | 2 +-
 bt5/erp5_pdm/bt/revision                                        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/my_quantity_unit.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/my_quantity_unit.xml
index 677ea8dde7..840fe44bff 100644
--- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/my_quantity_unit.xml
+++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/my_quantity_unit.xml
@@ -129,7 +129,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: here.getParent().QuantityUnitConversion_getQuantityUnitList()</string> </value>
+            <value> <string>python: here.getParentValue().QuantityUnitConversion_getQuantityUnitList()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/standard_quantity_unit.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/standard_quantity_unit.xml
index 5b4eeb90b1..825e0af0e5 100644
--- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/standard_quantity_unit.xml
+++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/QuantityUnitConversionDefinition_view/standard_quantity_unit.xml
@@ -140,7 +140,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: here.getParent().getQuantityUnitValue().getTitle()</string> </value>
+            <value> <string>python: here.getParentValue().getQuantityUnitValue().getTitle()</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision
index ce163e7b6b..2ae9f6c7cb 100644
--- a/bt5/erp5_pdm/bt/revision
+++ b/bt5/erp5_pdm/bt/revision
@@ -1 +1 @@
-440
\ No newline at end of file
+441
\ No newline at end of file
-- 
2.30.9