From 5391e9acbbaa2e0d385367ce508a2fca7e2f8b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Wed, 9 Jul 2008 08:25:16 +0000 Subject: [PATCH] - allow only for Person and Organisation node fields git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22360 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../my_destination_section_title.xml | 38 +++++++------------ bt5/erp5_mrp/bt/revision | 2 +- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewFieldLibrary/my_destination_section_title.xml b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewFieldLibrary/my_destination_section_title.xml index 9866b8dfbb..1bf87b5dec 100644 --- a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewFieldLibrary/my_destination_section_title.xml +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_viewFieldLibrary/my_destination_section_title.xml @@ -65,15 +65,17 @@ <value> <string></string> </value> </item> <item> - <key> <string>portal_type</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </value> </item> @@ -90,12 +92,16 @@ <value> <string>Base_viewFieldLibrary</string> </value> </item> <item> - <key> <string>portal_type</string> </key> + <key> <string>portal_type</string> </key> <value> <list> <tuple> - <string>Node Group</string> - <string>Node Group</string> + <string>Organisation</string> + <string>Organisation</string> + </tuple> + <tuple> + <string>Person</string> + <string>Person</string> </tuple> </list> </value> @@ -105,7 +111,7 @@ <value> <string>Click to edit the target</string> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>title</string> </key> <value> <string>Client</string> </value> </item> </dictionary> @@ -114,20 +120,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="TALESMethod" module="Products.Formulator.TALESField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python: [[x, x] for x in here.getPortalNodeTypeList()]</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index 4b74f2216d..832f62a3cb 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -338 \ No newline at end of file +339 \ No newline at end of file -- 2.30.9