Commit 9310aef6 authored by Jérome Perrin's avatar Jérome Perrin

erp5_accounting: Only consider accounting lines to get the display columns

parent 8babb6e9
......@@ -62,8 +62,9 @@ section_set = set((None,))\n
payment_set = set((None,))\n
payment_request_set = set((None,))\n
resource_set = set((context.getResource(),))\n
movement_type_list = context.getPortalAccountingMovementTypeList()\n
\n
for line in context.getMovementList():\n
for line in context.getMovementList(portal_type=movement_type_list):\n
resource_set.add(line.getResource())\n
if source:\n
section_set.add(line.getDestinationSection())\n
......
1538
\ No newline at end of file
1539
\ 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