Commit ed43dd0c authored by Jérome Perrin's avatar Jérome Perrin

use AccountingTransaction_getThirdPartyUrl and remove wrongly named scripts.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10674 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 886b0996
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</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>from ZTUtils import make_query\n
\n
index = selection.getIndex()\n
name = selection.getName()\n
object = brain.getObject()\n
if object is None:\n
return None\n
destination_section = object.getDestinationSectionValue()\n
if destination_section is None:\n
return None\n
url = destination_section.absolute_url()\n
method = \'Entity_viewAccountingTransactionList\'\n
kw = { \n
\'reset\' : \'1\', \n
}\n
\n
return url + \'/\' + method + \'?\' + make_query(kw)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>brain=None, selection=None, **kwd</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>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>brain</string>
<string>selection</string>
<string>kwd</string>
<string>ZTUtils</string>
<string>make_query</string>
<string>_getattr_</string>
<string>index</string>
<string>name</string>
<string>object</string>
<string>None</string>
<string>destination_section</string>
<string>url</string>
<string>method</string>
<string>kw</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
<none/>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountingTransactionModule_getDestinationSectionUrl</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -741,7 +741,7 @@ ...@@ -741,7 +741,7 @@
<list> <list>
<tuple> <tuple>
<string>delivery_mirror_section_title</string> <string>delivery_mirror_section_title</string>
<string>AccountingTransactionModule_getThirdPartyUrl</string> <string>AccountingTransaction_getThirdPartyUrl</string>
</tuple> </tuple>
</list> </list>
</value> </value>
......
...@@ -152,7 +152,7 @@ if mirror_section is not None:\n ...@@ -152,7 +152,7 @@ if mirror_section is not None:\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>AccountingTransactionModule_getThirdPartyUrl</string> </value> <value> <string>AccountingTransaction_getThirdPartyUrl</string> </value>
</item> </item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
......
78 79
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment