From fcaad5a7f272d9d731c01cba2ff87da2b94faea1 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Thu, 12 Sep 2013 17:47:24 +0200 Subject: [PATCH] accounting: remove obsolete/unused script --- ...countingTransaction_getThirdPartyTitle.xml | 80 ------------------- bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml deleted file mode 100644 index 3d62c46137..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getThirdPartyTitle.xml +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </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># XXX bad name: AccountingTransaction_getMirrorSectionTitle sounds more consistent\n -\n -if brain is not None:\n - transaction = brain.getObject()\n -else:\n - transaction = context\n -\n -if transaction.AccountingTransaction_isSourceView():\n - mirror_section = transaction.getDestinationSectionValue()\n -else:\n - mirror_section = transaction.getSourceSectionValue()\n -\n -if mirror_section is not None:\n - return mirror_section.getTitle()\n -</string> </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>brain=None, selection=None, selection_name=None, **kw</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>AccountingTransaction_getThirdPartyTitle</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index a4156eded6..68bcf6a347 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1545 \ No newline at end of file +1546 \ No newline at end of file -- 2.30.9