Commit 36fa2aba authored by Jérome Perrin's avatar Jérome Perrin

use getPortalAccountingTransactionTypeList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4847 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e063ff4f
No related merge requests found
......@@ -186,6 +186,10 @@
<key> <string>columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -252,7 +256,9 @@
</item>
<item>
<key> <string>portal_types</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>report_root_list</string> </key>
......@@ -476,7 +482,7 @@
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -582,7 +588,7 @@
<item>
<key> <string>stat_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
......@@ -618,6 +624,25 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
......@@ -636,7 +661,7 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
......
......@@ -66,12 +66,8 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>accounting_transaction_lines_portal_types = [\'Accounting Transaction Line\', \n
\'Sale Invoice Transaction Line\',\n
\'Purchase Invoice Transaction Line\', \n
\'Pay Sheet Transaction Line\',\n
\'Payment Transaction Line\',\n
\'Balance Transaction Line\']\n
<value> <string>accounting_transaction_lines_portal_types = context.getPortalAccountingMovementTypeList()\n
\n
transaction = brain.getObject()\n
credit = 0\n
for line in transaction.objectValues() :\n
......@@ -96,37 +92,35 @@ return float(\'%.02f\' % (row.quantity or 0.0))\n
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAABEAAAAQ
AAAASwAAAHOLAQAAZAEAZAIAZAMAZAQAZAUAZAYAZwYAfQMAdAEAfAAAZAcAgwIAgwAAfQUAZAgA
fQYAeJIAdAUAdAEAfAUAZAkAgwIAgwAAgwEARF14AH0IAHQBAHwIAGQKAIMCAIMAAHwDAGoGAG8a
AAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAbgEAAXQBAHwIAGQMAIMCAIMAAHQBAHwIAGQNAIMCAIMA
AGoCAG8aAAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAcUkAAXFJAFd8BgBTdAEAfAEAZA4AgwIAgwAA
fQkAaAAAfQIAdAEAfAkAZA8AgwIAZBAAgwEAdAoAfAIAgwEAZBAAPGQRAHQKAHwCAIMBAGQSADxk
EQB0CgB8AgCDAQBkEwA8dAEAdAsAZBQAgwIAgwAAdAoAfAIAgwEAZBUAPHQMAHQBAHQLAGQWAIMC
AGQXAHwBAHwCAI0BAX0NAHQOAHwNAGQIAIMCAH0PAHQQAGQYAHQBAHwPAGQZAIMCAHAEAAFkGgAW
gwEAU2QAAFMoGwAAAE5zGwAAAEFjY291bnRpbmcgVHJhbnNhY3Rpb24gTGluZXMdAAAAU2FsZSBJ
bnZvaWNlIFRyYW5zYWN0aW9uIExpbmVzIQAAAFB1cmNoYXNlIE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wAAAGNvbnRleHRzKQAAAGFjY291bnRp
bmdfdHJhbnNhY3Rpb25fbGluZXNfcG9ydGFsX3R5cGVzcwsAAAB0cmFuc2FjdGlvbnMGAAAAY3Jl
ZGl0cwkAAABfZ2V0aXRlcl9zBAAAAGxpbmVzBgAAAHBhcmFtc3MHAAAAX3dyaXRlX3MHAAAAX2Fw
cGx5X3MGAAAAcmVzdWx0cwkAAABfZ2V0aXRlbV9zAwAAAHJvd3MFAAAAZmxvYXQoAAAAACgAAAAA
cw8AAABTY3JpcHQgKFB5dGhvbilzKwAAAEFjY291bnRpbmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRT
b3VyY2VDcmVkaXQBAAAAcyQAAAASAhIBBgEZAAYBGQEaASUBHgEEAxIBBgEfARABEAEcAh4BDwEo
AgAAAHMEAAAATm9uZXMrAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uTW9kdWxlX2dldFNvdXJjZUNy
ZWRpdCgCAAAAcwQAAABOb25lcysAAABBY2NvdW50aW5nVHJhbnNhY3Rpb25Nb2R1bGVfZ2V0U291
cmNlQ3JlZGl0KAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABz
AAAAAA==</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
......@@ -163,15 +157,15 @@ AAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </
<string>brain</string>
<string>selection</string>
<string>kw</string>
<string>accounting_transaction_lines_portal_types</string>
<string>_getattr_</string>
<string>context</string>
<string>accounting_transaction_lines_portal_types</string>
<string>transaction</string>
<string>credit</string>
<string>_getiter_</string>
<string>line</string>
<string>params</string>
<string>_write_</string>
<string>context</string>
<string>_apply_</string>
<string>result</string>
<string>_getitem_</string>
......
......@@ -66,12 +66,8 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>accounting_transaction_lines_portal_types = [\'Accounting Transaction Line\', \n
\'Sale Invoice Transaction Line\',\n
\'Purchase Invoice Transaction Line\', \n
\'Pay Sheet Transaction Line\',\n
\'Payment Transaction Line\',\n
\'Balance Transaction Line\']\n
<value> <string>accounting_transaction_lines_portal_types = context.getPortalAccountingMovementTypeList()\n
\n
transaction = brain.getObject()\n
debit = 0\n
for line in transaction.objectValues() :\n
......@@ -99,39 +95,36 @@ return float(\'%.02f\' % (row.quantity and - row.quantity or 0.0))\n
</item>
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGUAAGQBAIQCAFoBAGQAAFMoAgAAAE5jAgAAABIAAAAR
AAAASwAAAHO5AQAAZAEAZAIAZAMAZAQAZAUAZAYAZwYAfQMAdAEAfAAAZAcAgwIAgwAAfQUAZAgA
fQYAeJIAdAUAdAEAfAUAZAkAgwIAgwAAgwEARF14AH0IAHQBAHwIAGQKAIMCAIMAAHwDAGoGAG8a
AAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAbgEAAXQBAHwIAGQMAIMCAIMAAHQBAHwIAGQNAIMCAIMA
AGoCAG8aAAF8BgB0AQB8CABkCwCDAgCDAAA3fQYAcUkAAXFJAFd8BgBTfAEAdAgAagkAbxYAAXQB
AHwBAGQOAIMCAIMAAH0KAG4HAAFoAAB9CgBoAAB9AgB0AQB8CgBkDwCDAgBkEACDAQB0CwB8AgCD
AQBkEAA8ZBEAdAsAfAIAgwEAZBIAPGQRAHQLAHwCAIMBAGQTADx0AQB0DABkFACDAgCDAAB0CwB8
AgCDAQBkFQA8dA0AdAEAdAwAZBYAgwIAZBcAfAEAZBgAfAIAfAIAjQECfQ4AdA8AfA4AZAgAgwIA
fRAAdBEAZBkAdAEAfBAAZBoAgwIAbw4AAXQBAHwQAGQaAIMCAAtwBAABZBsAFoMBAFNkAABTKBwA
AABOcxsAAABBY2NvdW50aW5nIFRyYW5zYWN0aW9uIExpbmVzHQAAAFNhbGUgSW52b2ljZSBUcmFu
c2FjdGlvbiBM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Gt3cwcAAABfd3JpdGVf
cwcAAABfYXBwbHlfcwYAAAByZXN1bHRzCQAAAF9nZXRpdGVtX3MDAAAAcm93cwUAAABmbG9hdCgS
AAAAcwUAAABicmFpbnMJAAAAc2VsZWN0aW9ucwIAAABrd3MJAAAAX2dldGF0dHJfcwcAAABjb250
ZXh0cykAAABhY2NvdW50aW5nX3RyYW5zYWN0aW9uX2xpbmVzX3BvcnRhbF90eXBlc3MLAAAAdHJh
bnNhY3Rpb25zBQAAAGRlYml0cwkAAABfZ2V0aXRlcl9zBAAAAGxpbmVzBAAAAE5vbmVzBgAAAHBh
cmFtc3MHAAAAX3dyaXRlX3MHAAAAX2FwcGx5X3MGAAAAcmVzdWx0cwkAAABfZ2V0aXRlbV9zAwAA
AHJvd3MFAAAAZmxvYXQoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzKgAAAEFjY291bnRp
bmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRTb3VyY2VEZWJpdAEAAABzKAAAABICEgEGARkABgEZARoB
JQEeAQQDDQEWAgYBBgEfARABEAEcAiQBDwEoAgAAAHMEAAAATm9uZXMqAAAAQWNjb3VudGluZ1Ry
YW5zYWN0aW9uTW9kdWxlX2dldFNvdXJjZURlYml0KAIAAABzBAAAAE5vbmVzKgAAAEFjY291bnRp
bmdUcmFuc2FjdGlvbk1vZHVsZV9nZXRTb3VyY2VEZWJpdCgAAAAAKAAAAABzDwAAAFNjcmlwdCAo
UHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
......@@ -168,8 +161,9 @@ PG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
<string>brain</string>
<string>selection</string>
<string>kw</string>
<string>accounting_transaction_lines_portal_types</string>
<string>_getattr_</string>
<string>context</string>
<string>accounting_transaction_lines_portal_types</string>
<string>transaction</string>
<string>debit</string>
<string>_getiter_</string>
......@@ -177,7 +171,6 @@ PG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
<string>None</string>
<string>params</string>
<string>_write_</string>
<string>context</string>
<string>_apply_</string>
<string>result</string>
<string>_getitem_</string>
......
......@@ -334,7 +334,7 @@
<string>Type</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>delivery.start_date</string>
<string>Date</string>
</tuple>
<tuple>
......@@ -388,19 +388,19 @@
</tuple>
<tuple>
<string>translated_portal_type</string>
<string>Type</string>
<string>Transaction Type</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>Date</string>
<string>delivery.start_date</string>
<string>Accounting Operation Date</string>
</tuple>
<tuple>
<string>reference</string>
<string>Invoice Number</string>
<string>Document Reference</string>
</tuple>
<tuple>
<string>source_reference</string>
<string>Source Reference</string>
<string>Transaction Reference</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
......@@ -458,7 +458,12 @@
<item>
<key> <string>editable_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>source_reference</string>
<string>Source Reference</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -497,7 +502,7 @@
</item>
<item>
<key> <string>lines</string> </key>
<value> <int>20</int> </value>
<value> <int>18</int> </value>
</item>
<item>
<key> <string>list_action</string> </key>
......@@ -589,7 +594,7 @@
<string>Type</string>
</tuple>
<tuple>
<string>delivery.stop_date</string>
<string>delivery.start_date</string>
<string>Date</string>
</tuple>
<tuple>
......@@ -624,8 +629,8 @@
<value>
<list>
<tuple>
<string>delivery.stop_date</string>
<string>delivery.stop_date</string>
<string>delivery.start_date</string>
<string>delivery.start_date</string>
</tuple>
</list>
</value>
......
......@@ -156,7 +156,9 @@
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
......@@ -326,4 +328,23 @@
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -70,13 +70,7 @@
This script deletes all empty (ie. with balance == 0) lines in an accounting transaction\n
"""\n
\n
lines_portal_type = (\'Accounting Transaction Line\', \n
\'Sale Invoice Transaction Line\',\n
\'Purchase Invoice Transaction Line\', \n
\'Pay Sheet Transaction Line\',\n
\'Payment Transaction Line\',\n
\'Balance Transaction Line\',)\n
\n
lines_portal_type = context.getPortalAccountingMovementTypeList()\n
transaction = context.getObject()\n
\n
for line in transaction.objectValues(portal_type=lines_portal_type) : \n
......@@ -96,31 +90,28 @@ if redirect :\n
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGQBAGQCAIQBAFoAAGQAAFMoAwAAAE5pAAAAAGMBAAAACQAA
ABEAAABDAAAAc08BAABkAQBkAgBkAwBkBABkBQBkBgBmBgB9AQB0AQB0AgBkBwCDAgCDAAB9BAB4
yQB0BAB0AQB8BABkCACDAgBkCQB8AQCDAAGDAQBEXakAfQYAdAEAfAYAZAcAgwIAgwAAfQYAdAYA
dAEAfAYAZAoAgwIAZAkAZAsAgwABdAEAfAYAZAwAgwIAZAkAZAsAgwABF4MBAGQNAGoCAG9WAAF0
AQB8BgBkDgCDAgCDAAB0AQB8BgBkDwCDAgCDAAAYfQgAfAgAZA0AagIAbyMAAXQBAHwEAGQQAIMC
AHQBAHwGAGQRAIMCAIMAAIMBAAFx8gABcUkAAXFJAFd8AABvTgABdAEAdAEAdAEAdAIAZBIAgwIA
ZBMAgwIAZBQAgwIAZBUAdAEAfAQAZBYAgwIAgwAAdAEAdAIAZBcAgwIAZBgAgwEAZgIAFoMBAAFu
AQABZAAAUygZAAAATnMbAAAAQWNjb3VudGluZyBUcmFuc2Fj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XRzDwAAAGdldFNvdXJjZUNyZWRpdHMNAAAA
ZGVsZXRlQ29udGVudHMFAAAAZ2V0SWRzBwAAAFJFUVVFU1RzCAAAAFJFU1BPTlNFcwgAAAByZWRp
cmVjdHMgAAAAJXMvdmlldz9wb3J0YWxfc3RhdHVzX21lc3NhZ2U9JXNzBwAAAGdldFBhdGhzFAAA
AEJhc2VfVHJhbnNsYXRlU3RyaW5ncxQAAABFbXB0eSBMaW5lcyBEZWxldGVkLigJAAAAcwkAAABf
Z2V0YXR0cl9zBwAAAGNvbnRleHRzEQAAAGxpbmVzX3BvcnRhbF90eXBlcwsAAAB0cmFuc2FjdGlv
bnMJAAAAX2dldGl0ZXJfcwQAAABsaW5lcwMAAABsZW5zBwAAAGJhbGFuY2VzCAAAAHJlZGlyZWN0
KAkAAABzCAAAAHJlZGlyZWN0cwkAAABfZ2V0YXR0cl9zBwAAAGNvbnRleHRzEQAAAGxpbmVzX3Bv
cnRhbF90eXBlcwsAAAB0cmFuc2FjdGlvbnMJAAAAX2dldGl0ZXJfcwQAAABsaW5lcwMAAABsZW5z
BwAAAGJhbGFuY2UoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzJgAAAEFjY291bnRpbmdU
cmFuc2FjdGlvbl9kZWxldGVFbXB0eUxpbmVzAQAAAHMaAAAAAAQSARICHwAGARIDGwAgASIBEAEo
AhABGwEoAQAAAHMmAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uX2RlbGV0ZUVtcHR5TGluZXMoAQAA
AHMmAAAAQWNjb3VudGluZ1RyYW5zYWN0aW9uX2RlbGV0ZUVtcHR5TGluZXMoAAAAACgAAAAAcw8A
AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
......@@ -155,9 +146,9 @@ dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<value>
<tuple>
<string>redirect</string>
<string>lines_portal_type</string>
<string>_getattr_</string>
<string>context</string>
<string>lines_portal_type</string>
<string>transaction</string>
<string>_getiter_</string>
<string>line</string>
......
......@@ -143,7 +143,7 @@ AHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/nexedi/erp5_accounting/BankAccount_statSourceBalance</string> </value>
<value> <string>Script (Python):/nexedi/portal_skins/erp5_accounting/BankAccount_statSourceBalance</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -186,6 +186,10 @@
<key> <string>columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>count_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
......@@ -252,7 +256,9 @@
</item>
<item>
<key> <string>portal_types</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>report_root_list</string> </key>
......@@ -490,7 +496,7 @@
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -600,7 +606,7 @@
<item>
<key> <string>stat_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
......@@ -636,6 +642,25 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[(x, x) for x in here.getPortalAccountingTransactionTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
......@@ -654,7 +679,7 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
......
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