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

Journal report have to filter both on parent_portal_type and portal type,...

Journal report have to filter both on parent_portal_type and portal type, because some transactions contains non accounting lines in stock tables (for instance pay sheet lines in pay sheet transaction)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18759 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 810bebf2
......@@ -90,6 +90,9 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n
from_date=from_date,\n
at_date=at_date,\n
section_uid=section_uid,\n
portal_type=portal.getPortalAccountingMovementTypeList(),\n
# note that we pass both portal_type and parent_portal_type because some transactions\n
# may contain some non accounting lines that are in stock table (eg. Pay Sheet Lines)\n
parent_portal_type=portal_type,\n
simulation_state=simulation_state,\n
sort_on=((\'stock.date\', \'ASC\'),\n
......
539
\ No newline at end of file
540
\ 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