From 2d042b2cdb811a9e1211241c969630e32d6d1462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 21 Aug 2009 15:24:27 +0000 Subject: [PATCH] - use specialise_reference by default - remove not used script git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28552 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../AppliedRule_getSpecialiseUrl.xml | 128 ------------------ .../my_recursive_subobject_listbox.xml | 16 +-- bt5/erp5_administration/bt/revision | 2 +- 3 files changed, 7 insertions(+), 139 deletions(-) delete mode 100644 bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/AppliedRule_getSpecialiseUrl.xml diff --git a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/AppliedRule_getSpecialiseUrl.xml b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/AppliedRule_getSpecialiseUrl.xml deleted file mode 100644 index 6b1b9f20a2..0000000000 --- a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/AppliedRule_getSpecialiseUrl.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>value = context.getProperty(\'specialise_value\')\n -if value is not None:\n - return value.absolute_url()\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>*args,**kwargs</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>args</string> - <string>kwargs</string> - <string>_getattr_</string> - <string>context</string> - <string>value</string> - <string>None</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>AppliedRule_getSpecialiseUrl</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SimulationMovement_viewFieldLibrary/my_recursive_subobject_listbox.xml b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SimulationMovement_viewFieldLibrary/my_recursive_subobject_listbox.xml index 1a64849c0f..99614f4abd 100644 --- a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SimulationMovement_viewFieldLibrary/my_recursive_subobject_listbox.xml +++ b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SimulationMovement_viewFieldLibrary/my_recursive_subobject_listbox.xml @@ -136,8 +136,8 @@ <string>Stop Date</string> </tuple> <tuple> - <string>specialise</string> - <string>Specialise</string> + <string>specialise_reference</string> + <string>Specialise Reference</string> </tuple> <tuple> <string>order</string> @@ -188,8 +188,8 @@ <string>Dict</string> </tuple> <tuple> - <string>specialise_title</string> - <string>Specialise Title</string> + <string>specialise</string> + <string>Specialise</string> </tuple> <tuple> <string>variation_text</string> @@ -261,8 +261,8 @@ <string>Causality</string> </tuple> <tuple> - <string>specialise</string> - <string>Specialise</string> + <string>specialise_reference</string> + <string>Specialise Reference</string> </tuple> <tuple> <string>order</string> @@ -367,10 +367,6 @@ <string>delivery</string> <string>SimulationMovement_getDeliveryUrl</string> </tuple> - <tuple> - <string>specialise_id</string> - <string>AppliedRule_getSpecialiseUrl</string> - </tuple> </list> </value> </item> diff --git a/bt5/erp5_administration/bt/revision b/bt5/erp5_administration/bt/revision index 8c0474e323..d7765fe47e 100644 --- a/bt5/erp5_administration/bt/revision +++ b/bt5/erp5_administration/bt/revision @@ -1 +1 @@ -69 \ No newline at end of file +70 \ No newline at end of file -- 2.30.9