Commit 015288bd authored by Jérome Perrin's avatar Jérome Perrin

enable the more columns from r32553

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9806b85
......@@ -105,9 +105,18 @@ stool.setSelectionFor(\'accounting_transaction_module_grouping_reference_fast_in
stool.setSelectionFor(\'entity_transaction_selection\', None)\n
stool.setSelectionFor(\'account_module_selection\', None)\n
\n
# set sort order on account module\n
# set sort order and columns on account module\n
stool.setSelectionParamsFor(\'account_module_selection\', dict()) # (this recreates selection)\n
stool.setSelectionSortOrder(\'account_module_selection\', sort_on=((\'preferred_gap_id\', \'ascending\'),))\n
stool.setSelectionColumns(\'account_module_selection\',\n
[(\'preferred_gap_id\', \'GAP Number\'),\n
(\'title\', \'Account Name\'),\n
(\'translated_validation_state_title\', \'State\'),\n
(\'AccountModule_getAccountingTransactionCount\', \'Count\'),\n
(\'debit\', \'Debit\'),\n
(\'credit\', \'Credit\'),\n
(\'debit_balance\', \'Debit Balance\'),\n
(\'credit_balance\', \'Credit Balance\')])\n
\n
# delete the "dummy account" we create in test_account_gap_parallel_list_field\n
dummy_account_list = portal.account_module.searchFolder(\n
......
144
\ No newline at end of file
145
\ 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