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

improve reports


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4736 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5e2e16c5
<?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> <string encoding="base64">O/INCg==</string> </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>portal = context.getPortalObject()\n
if organisation == \'\' :\n
organisation = context.REQUEST.get(\'organisation\', None)\n
if organisation is None : \n
organisation = portal.portal_preferences.getPreferredAccountingTransactionSourceSection()\n
\n
organisation = portal.restrictedTraverse(organisation)\n
item_list = [(\'\', \'\')]\n
for bank in organisation.objectValues(portal_type = [\'Bank Account\', \'Cash Register\']):\n
item_list.append((bank.getTitle(), bank.getRelativeUrl()))\n
\n
return item_list\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGQBA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cl9zBAAAAGJhbmsoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzJAAAAEFjY291bnRNb2R1
bGVfZ2V0QmFua0FjY291bnRJdGVtTGlzdAEAAABzFAAAABIBDQElAQ0BHwIVAQ8BJQAJATICKAEA
AABzJAAAAEFjY291bnRNb2R1bGVfZ2V0QmFua0FjY291bnRJdGVtTGlzdCgBAAAAcyQAAABBY2Nv
dW50TW9kdWxlX2dldEJhbmtBY2NvdW50SXRlbUxpc3QoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5
dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>organisation = \'\'</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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>organisation</string>
<string>_getattr_</string>
<string>context</string>
<string>portal</string>
<string>None</string>
<string>item_list</string>
<string>_getiter_</string>
<string>bank</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<string></string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountModule_getBankAccountItemList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -73,7 +73,7 @@ name = selection.getName()\n ...@@ -73,7 +73,7 @@ name = selection.getName()\n
object = brain.getObject()\n object = brain.getObject()\n
object = object.getDestinationValue()\n object = object.getDestinationValue()\n
if object is None:\n if object is None:\n
url = "#"\n url = None\n
else:\n else:\n
url = object.absolute_url() + \'/view?selection_index=%s&selection_name=%s&reset=1\' % (index, name)\n url = object.absolute_url() + \'/view?selection_index=%s&selection_name=%s&reset=1\' % (index, name)\n
\n \n
...@@ -86,22 +86,22 @@ return url\n ...@@ -86,22 +86,22 @@ return url\n
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAAAgAAAAI <value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAAAgAAAAI
AAAAQwAAAHOHAAAAdAAAfAEAZAEAgwIAgwAAfQMAdAAAfAEAZAIAgwIAgwAAfQQAdAAAfAAAZAMA AAAAQwAAAHOHAAAAdAAAfAEAZAEAgwIAgwAAfQMAdAAAfAEAZAIAgwIAgwAAfQQAdAAAfAAAZAMA
gwIAgwAAfQUAdAAAfAUAZAQAgwIAgwAAfQUAfAUAdAYAaggAbwoAAWQFAH0HAG4hAAF0AAB8BQBk gwIAgwAAfQUAdAAAfAUAZAQAgwIAgwAAfQUAfAUAdAYAaggAbwoAAXQGAH0HAG4hAAF0AAB8BQBk
BgCDAgCDAABkBwB8AwB8BABmAgAWF30HAHwHAFNkAABTKAgAAABOcwgAAABnZXRJbmRleHMHAAAA BQCDAgCDAABkBgB8AwB8BABmAgAWF30HAHwHAFNkAABTKAcAAABOcwgAAABnZXRJbmRleHMHAAAA
Z2V0TmFtZXMJAAAAZ2V0T2JqZWN0cxMAAABnZXREZXN0aW5hdGlvblZhbHVlcwEAAAAjcwwAAABh Z2V0TmFtZXMJAAAAZ2V0T2JqZWN0cxMAAABnZXREZXN0aW5hdGlvblZhbHVlcwwAAABhYnN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hAAAAQWNjb3VudE1vZHVsZV9nZXRNaXJyb3JBY2NvdW50VXJsKAAAAAAoAAAAAHMPAAAA AAAAQWNjb3VudE1vZHVsZV9nZXRNaXJyb3JBY2NvdW50VXJsKAAAAAAoAAAAAHMPAAAAU2NyaXB0
U2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value> IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/local_accounting/AccountModule_getMirrorAccountUrl</string> </value> <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_getMirrorAccountUrl</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
......
...@@ -94,7 +94,7 @@ except KeyError:\n ...@@ -94,7 +94,7 @@ except KeyError:\n
pass\n pass\n
\n \n
# build the query with portal_catalog\n # build the query with portal_catalog\n
query = context.portal_catalog.buildSQLQuery(**kw)\n query = context.portal_catalog.buildSQLQuery(**kw) #query_table = \'node\', **kw)\n
\n \n
if query.get(\'where_expression\'):\n if query.get(\'where_expression\'):\n
params[\'where_expression\'] = query[\'where_expression\']\n params[\'where_expression\'] = query[\'where_expression\']\n
...@@ -108,6 +108,7 @@ if selection.getReport() :\n ...@@ -108,6 +108,7 @@ if selection.getReport() :\n
if kw.get(\'closed_summary\'):\n if kw.get(\'closed_summary\'):\n
params[\'closed_summary\'] = kw[\'closed_summary\']\n params[\'closed_summary\'] = kw[\'closed_summary\']\n
if selection.isInvertMode() :\n if selection.isInvertMode() :\n
params[\'node_uid\'] = selection.getInvertModeUidList()\n
params[\'selection_uids\'] = selection.getInvertModeUidList()\n params[\'selection_uids\'] = selection.getInvertModeUidList()\n
\n \n
if kw.get(\'omit_input\'):\n if kw.get(\'omit_input\'):\n
...@@ -123,13 +124,17 @@ if row.quantity :\n ...@@ -123,13 +124,17 @@ if row.quantity :\n
total = row.quantity or 0.00\n total = row.quantity or 0.00\n
return total\n return total\n
\n \n
# vim: syntax=python\n # FIXME:\n
# here we have to buildSQLQuery on \'node\' catalog table alias and not catalog.\n
# currently this doesn\'t work.\n
context.log(\'SQL:\', context.portal_simulation.getInventory( src__=1, omit_simulation=1, **params ))\n
return context.portal_simulation.getInventory( omit_simulation=1, **params )\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAABYAAAAz <value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAABYAAAA7
AAAASwAAAHNxAwAAdAAAfAIAZAEAgwIAdAAAfAEAZAIAgwIAgwAAgwEAAWgAAH0EAGQDAIQAAH0F AAAASwAAAHPvAwAAdAAAfAIAZAEAgwIAdAAAfAEAZAIAgwIAgwAAgwEAAWgAAH0EAGQDAIQAAH0F
AHQAAHQAAHQFAGQEAIMCAIMAAGQFAIMCAH0HAHQAAHwHAGQGAIMCAIMAAH0IAHwIAG8UAAF8CAB0 AHQAAHQAAHQFAGQEAIMCAIMAAGQFAIMCAH0HAHQAAHwHAGQGAIMCAIMAAH0IAHwIAG8UAAF8CAB0
CAB8BACDAQBkBwA8bgEAAXQAAHwHAGQIAIMCAIMAAH0KAHwKAG8UAAF8CgB0CAB8BACDAQBkCQA8 CAB8BACDAQBkBwA8bgEAAXQAAHwHAGQIAIMCAIMAAH0KAHwKAG8UAAF8CgB0CAB8BACDAQBkCQA8
bgEAAXQAAHwHAGQKAIMCAIMAAH0LAHwLAG8UAAF8CwB0CAB8BACDAQBkCwA8bgEAAXQAAHwHAGQM bgEAAXQAAHwHAGQKAIMCAIMAAH0LAHwLAG8UAAF8CwB0CAB8BACDAQ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
cwAAAAA=</string> </value> BwEUARIBBwEUAgMBDwEHARUBJwEOAQUDJAITASABEwEgAhABIwEQASMBEwEgARABHAEjAhMBFwET
ARQCFQEJAQ8BCQENARoBBwU6ASgCAAAAcwQAAABOb25lcxkAAABBY2NvdW50TW9kdWxlX3N0YXRC
YWxhbmNlKAIAAABzBAAAAE5vbmVzGQAAAEFjY291bnRNb2R1bGVfc3RhdEJhbGFuY2UoAAAAACgA
AAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item> </item>
<item> <item>
<key> <string>_dav_writelocks</string> </key> <key> <string>_dav_writelocks</string> </key>
......
...@@ -66,25 +66,25 @@ ...@@ -66,25 +66,25 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>return - context.AccountModule_statBalance(brain, selection, omit_output=1, **kw)\n <value> <string>return - context.AccountModule_statBalance(brain, selection, omit_input=1, **kw) or 0\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAgAAAAYAAAAIAAAA <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAgAAAAYAAAAIAAAA
SwAAAHMnAAAAdAAAdAEAdAIAZAEAgwIAfAEAfAAAZAIAZAMAfAIAjQMBC1NkAABTKAQAAABOcxkA SwAAAHMuAAAAdAAAdAEAdAIAZAEAgwIAfAEAfAAAZAIAZAMAfAIAjQMBC3AEAAFkBABTZAAAUygF
AABBY2NvdW50TW9kdWxlX3N0YXRCYWxhbmNlcwsAAABvbWl0X291dHB1dGkBAAAAKAYAAABzBwAA AAAATnMZAAAAQWNjb3VudE1vZHVsZV9zdGF0QmFsYW5jZXMKAAAAb21pdF9pbnB1dGk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> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/local_accounting/AccountModule_statTotalSourceCredit</string> </value> <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_statTotalSourceCredit</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
......
...@@ -66,21 +66,21 @@ ...@@ -66,21 +66,21 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>return context.AccountModule_statBalance(brain, selection, omit_input=1, float_value=1, **kw)\n <value> <string>return context.AccountModule_statBalance(brain, selection, omit_output=1, float_value=1, **kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAgAAAAYAAAAKAAAA <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAgAAAAYAAAAKAAAA
SwAAAHMsAAAAdAAAdAEAdAIAZAEAgwIAfAEAfAAAZAIAZAMAZAQAZAMAfAIAjQMCU2QAAFMoBQAA SwAAAHMsAAAAdAAAdAEAdAIAZAEAgwIAfAEAfAAAZAIAZAMAZAQAZAMAfAIAjQMCU2QAAFMoBQAA
AE5zGQAAAEFjY291bnRNb2R1bGVfc3RhdEJhbGFuY2VzCgAAAG9taXRfaW5wdXRpAQAAAHMLAAAA AE5zGQAAAEFjY291bnRNb2R1bGVfc3RhdEJhbGFuY2VzCwAAAG9taXRfb3V0cHV0aQEAAABzCwAA
ZmxvYXRfdmFsdWUoBgAAAHMHAAAAX2FwcGx5X3MJAAAAX2dldGF0dHJfcwcAAABjb250ZXh0cwUA AGZsb2F0X3ZhbHVlKAYAAABzBwAAAF9hcHBseV9zCQAAAF9nZXRhdHRyX3MHAAAAY29udGV4dHMF
AABicmFpbnMJAAAAc2VsZWN0aW9ucwIAAABrdygGAAAAcwkAAABzZWxlY3Rpb25zBQAAAGJyYWlu AAAAYnJhaW5zCQAAAHNlbGVjdGlvbnMCAAAAa3coBgAAAHMJAAAAc2VsZWN0aW9ucwUAAABicmFp
cwIAAABrd3MHAAAAX2FwcGx5X3MJAAAAX2dldGF0dHJfcwcAAABjb250ZXh0KAAAAAAoAAAAAHMP bnMCAAAAa3dzBwAAAF9hcHBseV9zCQAAAF9nZXRhdHRyX3MHAAAAY29udGV4dCgAAAAAKAAAAABz
AAAAU2NyaXB0IChQeXRob24pcyIAAABBY2NvdW50TW9kdWxlX3N0YXRUb3RhbFNvdXJjZURlYml0 DwAAAFNjcmlwdCAoUHl0aG9uKXMiAAAAQWNjb3VudE1vZHVsZV9zdGF0VG90YWxTb3VyY2VEZWJp
AQAAAHMAAAAAKAIAAABzBAAAAE5vbmVzIgAAAEFjY291bnRNb2R1bGVfc3RhdFRvdGFsU291cmNl dAEAAABzAAAAACgCAAAAcwQAAABOb25lcyIAAABBY2NvdW50TW9kdWxlX3N0YXRUb3RhbFNvdXJj
RGViaXQoAgAAAHMEAAAATm9uZXMiAAAAQWNjb3VudE1vZHVsZV9zdGF0VG90YWxTb3VyY2VEZWJp ZURlYml0KAIAAABzBAAAAE5vbmVzIgAAAEFjY291bnRNb2R1bGVfc3RhdFRvdGFsU291cmNlRGVi
dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value> aXQoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item> </item>
<item> <item>
<key> <string>_dav_writelocks</string> </key> <key> <string>_dav_writelocks</string> </key>
...@@ -90,7 +90,7 @@ dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string ...@@ -90,7 +90,7 @@ dCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/local_accounting/AccountModule_statTotalSourceDebit</string> </value> <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/AccountModule_statTotalSourceDebit</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
......
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -85,14 +84,6 @@ ...@@ -85,14 +84,6 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_preferred_gap_id</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.Report</string>
<string>ERP5Report</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>Default</string>
<string>2</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>2</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>Default</string> </key>
<value>
<list>
<string>from_date</string>
<string>at_date</string>
<string>transaction_section_category</string>
<string>transaction_simulation_state</string>
<string>account</string>
<string>destination_section</string>
<string>source_payment</string>
<string>omit_grouping_reference</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountModule_viewAccountStatementReport</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>AccountModule_viewAccountStatementReport</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>report_view</string> </value>
</item>
<item>
<key> <string>report_method</string> </key>
<value> <string>AccountModule_getAccountStatementReportSectionList</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Account Statement</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.Form</string>
<string>ERP5Form</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>AccountModule_viewAccountStatementReport</string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>Default</string>
<string>left</string>
<string>bottom</string>
<string>diabled</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>Default</string> </key>
<value>
<list>
<string>my_transaction_section_category</string>
<string>my_from_date</string>
<string>my_at_date</string>
<string>my_portal_skin</string>
</list>
</value>
</item>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>my_account</string>
<string>my_destination_section</string>
<string>my_source_payment</string>
</list>
</value>
</item>
<item>
<key> <string>diabled</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_transaction_simulation_state</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AccountModule_viewAccountStatementReportDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>AccountModule_viewGeneralLedgerReportDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Account Statement</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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> <string encoding="base64">O/INCg==</string> </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>account = None\n
if account == \'\' : \n
if (hasattr(context, \'getPortalType\') and context.getPortalType() == \'Account\') :\n
account = context\n
elif same_type(account, \'\') : \n
account = context.getPortalObject().restrictedTraverse(account)\n
\n
node_uid = None\n
if account is not None : \n
node_uid = account.getUid()\n
\n
ptype_translated_dict = {}\n
def translatePortalType(ptype) : \n
if not ptype_translated_dict.has_key(ptype) : \n
ptype_translated_dict[ptype] = context.Base_TranslateString(ptype)\n
return ptype_translated_dict[ptype]\n
\n
item_list = [("", "")]\n
for entity in context.Account_zDistinctSectionList(node_uid = node_uid): \n
item_list.append(("%s (%s)" % (entity[\'title\'], translatePortalType(entity[\'portal_type\'])), entity[\'relative_url\']))\n
\n
return item_list\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGQBAGQCAIQBAFoAAGQAAFMoAwAAAE5zAAAAAGMBAAAADQAA
ABMAAAADAAAAcz4BAAB0AAB9AAB8AABkAQBqAgBvNwABdAIAdAMAZAIAgwIAbxYAAXQEAHQDAGQC
AIMCAIMAAGQDAGoCAG8KAAF0AwB9AABxfwABbjYAAXQFAHwAAGQBAIMCAG8lAAF0BAB0BAB0AwBk
BACDAgCDAABkBQCDAgB8AACDAQB9AABuAQABdAAAfQYAfAAAdAAAagkAbxYAAXQEAHwAAGQGAIMC
AIMAAH0GAG4BAAFoAACJAACHAABkBwCGAAB9CABkAQBkAQBmAgBnAQB9CQB4agB0CgB0BAB0AwBk
CACDAgBkCQB8BgCDAAGDAQBEXUoAfQsAdAQAfAkAZAoAgwIAZAsAdAwAfAsAZAwAgwIAfAgAdAwA
fAsAZA0AgwIAgwEAZgIAFnQMAHwLAGQOAIMCAGYCAIMBAAFx6ABXfAkAU2QAAFMoDwAAAE5zAAAA
AHMNAAAAZ2V0UG9ydGFsVHlwZXMHAAAAQWNjb3VudHMPAAAAZ2V0UG9ydGFsT2JqZWN0cxIAAABy
ZXN0cmljdGVkVHJhdmVyc2VzBgAAAGdldFVpZGMBAAAABgAAAAcAAAADAAAAc0sAAAB0AACIAABk
AQCDAgB8AACDAQAMbyMAAXQAAHQDAGQCAIMCAHwAAIMBAHQEAIgAAIMBAHwAADxuAQABdAUAiAAA
fAAAgwIAU2QAAFMoAwAAAE5zBwAAAGhhc19rZXlzFAAAAEJhc2VfVHJhbnNsYXRlU3RyaW5nKAYA
AABzCQAAAF9nZXRhdHRyX3MVAAAAcHR5cGVfdHJhbnNsYXRlZF9kaWN0cwUAAABwdHlwZXMHAAAA
Y29udGV4dHMHAAAAX3dyaXRlX3MJAAAAX2dldGl0ZW1fKAYAAABzBQAAAHB0eXBlcw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ENASkBDgEQASUCBgENARYCBgEMBQ8BHwAJ
AUUCKAEAAABzJQAAAEFjY291bnRfZ2V0RGVzdGluYXRpb25TZWN0aW9uSXRlbUxpc3QoAQAAAHMl
AAAAQWNjb3VudF9nZXREZXN0aW5hdGlvblNlY3Rpb25JdGVtTGlzdCgAAAAAKAAAAABzDwAAAFNj
cmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/Account_getDestinationSectionItemList</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>account = \'\'</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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>account</string>
<string>None</string>
<string>hasattr</string>
<string>context</string>
<string>_getattr_</string>
<string>same_type</string>
<string>node_uid</string>
<string>ptype_translated_dict</string>
<string>translatePortalType</string>
<string>item_list</string>
<string>_getiter_</string>
<string>entity</string>
<string>_getitem_</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<string></string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Account_getDestinationSectionItemList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?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> <string encoding="base64">O/INCg==</string> </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>account = context\n
destination_section_set = {}\n
\n
for line in account.Account_getAccountingTransactionList(**kw) :\n
movement_path = line.current_transaction_line_path\n
movement = context.restrictedTraverse(movement_path)\n
destination_section_set[movement.getDestinationSection()] = 1 \n
\n
return destination_section_set.keys()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAsAAAAKAAAASwAA
AHOJAAAAdAAAfQIAaAAAfQMAeGYAdAMAdAQAdAUAfAIAZAEAgwIAfAAAjQEAgwEARF1GAH0HAHQF
AHwHAGQCAIMCAH0IAHQFAHQAAGQDAIMCAHwIAIMBAH0JAGQEAHQKAHwDAIMBAHQFAHwJAGQFAIMC
AIMAADxxKwBXdAUAfAMAZAYAgwIAgwAAU2QAAFMoBwAAAE5zJAAAAEFjY291bnRfZ2V0QWNjb3Vu
dGluZ1RyYW5zYWN0aW9uTGlzdHMdAAAAY3VycmVudF90cmFuc2FjdGlvbl9saW5lX3BhdGhzEgAA
AHJlc3RyaWN0ZWRUcmF2ZXJzZWkBAAAAcxUAAABnZXREZXN0aW5hdGlvblNlY3Rpb25zBAAAAGtl
eXMoCwAAAHMHAAAAY29udGV4dHMHAAAAYWNjb3VudHMXAAAAZGVzdGluYXRpb25fc2VjdGlvbl9z
ZXRzCQAAAF9nZXRpdGVyX3MHAAAAX2FwcGx5X3MJAAAAX2dldGF0dHJfcwIAAABrd3MEAAAAbGlu
ZXMNAAAAbW92ZW1lbnRfcGF0aHMIAAAAbW92ZW1lbnRzBwAAAF93cml0ZV8oCwAAAHMCAAAAa3dz
BwAAAGNvbnRleHRzBwAAAGFjY291bnRzFwAAAGRlc3RpbmF0aW9uX3NlY3Rpb25fc2V0cwkAAABf
Z2V0aXRlcl9zBwAAAF9hcHBseV9zCQAAAF9nZXRhdHRyX3MEAAAAbGluZXMNAAAAbW92ZW1lbnRf
cGF0aHMIAAAAbW92ZW1lbnRzBwAAAF93cml0ZV8oAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhv
bilzIQAAAEFjY291bnRfZ2V0RGVzdGluYXRpb25TZWN0aW9uTGlzdAEAAABzDgAAAAYBBgIfAAYB
DwEVASACKAEAAABzIQAAAEFjY291bnRfZ2V0RGVzdGluYXRpb25TZWN0aW9uTGlzdCgBAAAAcyEA
AABBY2NvdW50X2dldERlc3RpbmF0aW9uU2VjdGlvbkxpc3QoAAAAACgAAAAAcw8AAABTY3JpcHQg
KFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/Account_getDestinationSectionList</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</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>kw</string>
<string>context</string>
<string>account</string>
<string>destination_section_set</string>
<string>_getiter_</string>
<string>_apply_</string>
<string>_getattr_</string>
<string>line</string>
<string>movement_path</string>
<string>movement</string>
<string>_write_</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>Account_getDestinationSectionList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -73,26 +73,27 @@ current_gap = context.getPortalObject().portal_preferences.getPreferredAccountin ...@@ -73,26 +73,27 @@ current_gap = context.getPortalObject().portal_preferences.getPreferredAccountin
for gap in context.getGapValueList() : \n for gap in context.getGapValueList() : \n
if current_gap in gap.getPath() : \n if current_gap in gap.getPath() : \n
return gap.getId()\n return gap.getId()\n
return \'\'\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAUAAAALAAAAQwAA <value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAUAAAALAAAAQwAA
AHN7AAAAdAAAdAAAdAAAdAEAZAEAgwIAgwAAZAIAgwIAZAMAgwIAgwAAfQIAeE0AdAMAdAAAdAEA AHN/AAAAdAAAdAAAdAAAdAEAZAEAgwIAgwAAZAIAgwIAZAMAgwIAgwAAfQIAeE0AdAMAdA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W50X2dldEdh
AAAAAAInAhkABgEZASgBAAAAcxAAAABBY2NvdW50X2dldEdhcElkKAEAAABzEAAAAEFjY291bnRf cElkAQAAAHMMAAAAAAInAhkABgEZARgBKAEAAABzEAAAAEFjY291bnRfZ2V0R2FwSWQoAQAAAHMQ
Z2V0R2FwSWQoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMA AAAAQWNjb3VudF9nZXRHYXBJZCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1v
AAAA</string> </value> ZHVsZT4BAAAAcwAAAAA=</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/erp5_accounting/Account_getGapId</string> </value> <value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/Account_getGapId</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
......
...@@ -77,34 +77,50 @@ try :\n ...@@ -77,34 +77,50 @@ try :\n
except KeyError :\n except KeyError :\n
raise\n raise\n
gap_root = context.getPortalDefaultGapRoot()\n gap_root = context.getPortalDefaultGapRoot()\n
obj = context.portal_categories.resolveCategory(gap_root)\n \n
return obj.getCategoryChildItemList(base=0, display_method=display, sort_method=sort)\n def getGapItemList(gap_root, portal_path) : \n
obj = context.portal_categories.resolveCategory(gap_root)\n
return obj.getCategoryChildItemList(base=0, display_method=display, sort_method=sort)\n
\n
from Products.ERP5Type.Cache import CachingMethod\n
getGapItemList = CachingMethod(getGapItemList, id=\'Account.getGapItemList\')\n
return getGapItemList(gap_root=gap_root, portal_path=context.portal_url())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAcAAAAPAAAAAwAA <value> <string enco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QAAAHMNAAAAQ2FjaGluZ01ldGhvZHMCAAAAaWRzFgAAAEFjY291bnQuZ2V0R2FwSXRlbUxp
c3RzCAAAAGdhcF9yb290cwsAAABwb3J0YWxfcGF0aHMKAAAAcG9ydGFsX3VybCgJAAAAcwcAAABk
aXNwbGF5cwQAAABzb3J0cwkAAABfZ2V0YXR0cl9zBwAAAGNvbnRleHRzCAAAAGdhcF9yb290cwgA
AABLZXlFcnJvcnMOAAAAZ2V0R2FwSXRlbUxpc3RzFwAAAFByb2R1Y3RzLkVSUDVUeXBlLkNhY2hl
cw0AAABDYWNoaW5nTWV0aG9kKAkAAABzBwAAAGRpc3BsYXlzBAAAAHNvcnRzCQAAAF9nZXRhdHRy
X3MHAAAAY29udGV4dHMIAAAAZ2FwX3Jvb3RzCAAAAEtleUVycm9ycw4AAABnZXRHYXBJdGVtTGlz
dHMXAAAAUHJvZHVjdHMuRVJQNVR5cGUuQ2FjaGVzDQAAAENhY2hpbmdNZXRob2QoAAAAACgCAAAA
cwQAAABzb3J0cwcAAABkaXNwbGF5cw8AAABTY3JpcHQgKFB5dGhvbilzFgAAAEFjY291bnRfZ2V0
R2FwSXRlbUxpc3QBAAAAcxQAAAAJAwwDAwEfAQ4BAwEXAg8EDQESASgBAAAAcxYAAABBY2NvdW50
X2dldEdhcEl0ZW1MaXN0KAEAAABzFgAAAEFjY291bnRfZ2V0R2FwSXRlbUxpc3QoAAAAACgAAAAA
cw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
...@@ -144,7 +160,9 @@ KFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value> ...@@ -144,7 +160,9 @@ KFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<string>context</string> <string>context</string>
<string>gap_root</string> <string>gap_root</string>
<string>KeyError</string> <string>KeyError</string>
<string>obj</string> <string>getGapItemList</string>
<string>Products.ERP5Type.Cache</string>
<string>CachingMethod</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
<?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> <string encoding="base64">O/INCg==</string> </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>account = context\n
\n
source_payment_set = {}\n
\n
for line in account.Account_getAccountingTransactionList() :\n
movement_path = line.current_transaction_line_path\n
movement = context.restrictedTraverse(movement_path)\n
source_payment_set[movement.getSourcePayment()] = 1\n
# if movement.getSourcePayment() is None : \n
# context.log(\'Movement getSourcePayment None \', movement.getPath())\n
return source_payment_set.keys()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAkAAAAJAAAAQwAA
AHODAAAAdAAAfQEAaAAAfQIAeGAAdAMAdAQAfAEAZAEAgwIAgwAAgwEARF1GAH0FAHQEAHwFAGQC
AIMCAH0GAHQEAHQAAGQDAIMCAHwGAIMBAH0HAGQEAHQIAHwCAIMBAHQEAHwHAGQFAIMCAIMAADxx
JQBXdAQAfAIAZAYAgwIAgwAAU2QAAFMoBwAAAE5zJAAAAEFjY291bnRfZ2V0QWNjb3VudGluZ1Ry
YW5zYWN0aW9uTGlzdHMdAAAAY3VycmVudF90cmFuc2FjdGlvbl9saW5lX3BhdGhzEgAAAHJlc3Ry
aWN0ZWRUcmF2ZXJzZWkBAAAAcxAAAABnZXRTb3VyY2VQYXltZW50cwQAAABrZXlzKAkAAABzBwAA
AGNvbnRleHRzBwAAAGFjY291bnRzEgAAAHNvdXJjZV9wYXltZW50X3NldHMJAAAAX2dldGl0ZXJf
cwkAAABfZ2V0YXR0cl9zBAAAAGxpbmVzDQAAAG1vdmVtZW50X3BhdGhzCAAAAG1vdmVtZW50cwcA
AABfd3JpdGVfKAkAAABzBwAAAGNvbnRleHRzBwAAAGFjY291bnRzEgAAAHNvdXJjZV9wYXltZW50
X3NldHMJAAAAX2dldGl0ZXJfcwkAAABfZ2V0YXR0cl9zBAAAAGxpbmVzDQAAAG1vdmVtZW50X3Bh
dGhzCAAAAG1vdmVtZW50cwcAAABfd3JpdGVfKAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24p
cxwAAABBY2NvdW50X2dldFNvdXJjZVBheW1lbnRMaXN0AQAAAHMOAAAABgIGAhkABgEPARUBIAMo
AQAAAHMcAAAAQWNjb3VudF9nZXRTb3VyY2VQYXltZW50TGlzdCgBAAAAcxwAAABBY2NvdW50X2dl
dFNvdXJjZVBheW1lbnRMaXN0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9k
dWxlPgEAAABzAAAAAA==</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/Account_getSourcePaymentList</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></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>context</string>
<string>account</string>
<string>source_payment_set</string>
<string>_getiter_</string>
<string>_getattr_</string>
<string>line</string>
<string>movement_path</string>
<string>movement</string>
<string>_write_</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>Account_getSourcePaymentList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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