From 6f0546c2353bfd37a77cb23fd7d67b06b8dde2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 26 Jun 2008 14:25:32 +0000 Subject: [PATCH] - on Supply Link view allow to choose Supply Nodes only from same Supply Chain git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21977 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../my_destination_title.xml | 35 ++++++++++++++++++- .../my_source_title.xml | 35 ++++++++++++++++++- bt5/erp5_mrp/bt/revision | 2 +- 3 files changed, 69 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_destination_title.xml b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_destination_title.xml index 1013c80046..111cd35cd6 100644 --- a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_destination_title.xml +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_destination_title.xml @@ -14,6 +14,7 @@ <value> <list> <string>portal_type</string> + <string>parameter_list</string> </list> </value> </item> @@ -63,6 +64,16 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> @@ -83,7 +94,13 @@ <value> <string>ProductionOrder_viewFieldLibrary</string> </value> </item> <item> - <key> <string>portal_type</string> </key> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> <value> <list> <tuple> @@ -103,4 +120,20 @@ </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: ((\'parent_uid\',here.getParentUid()),)</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_source_title.xml b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_source_title.xml index a4a479e4a5..44462cb2d1 100644 --- a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_source_title.xml +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/SupplyLink_viewFieldLibrary/my_source_title.xml @@ -14,6 +14,7 @@ <value> <list> <string>portal_type</string> + <string>parameter_list</string> </list> </value> </item> @@ -63,6 +64,16 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> @@ -83,7 +94,13 @@ <value> <string>ProductionOrder_viewFieldLibrary</string> </value> </item> <item> - <key> <string>portal_type</string> </key> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> <value> <list> <tuple> @@ -103,4 +120,20 @@ </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: ((\'parent_uid\',here.getParentUid()),)</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index c72784c8c5..06690d5eea 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -235 \ No newline at end of file +238 \ No newline at end of file -- 2.30.9