Commit 06eca576 authored by Jérome Perrin's avatar Jérome Perrin

fix a problem in journal report for transactions without third party

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24346 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c92bd77
...@@ -101,7 +101,8 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n ...@@ -101,7 +101,8 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n
total_credit += credit\n total_credit += credit\n
\n \n
transaction = mvt.getParentValue()\n transaction = mvt.getParentValue()\n
is_source = brain.section_relative_url.startswith(transaction.getSourceSection())\n is_source = brain.section_relative_url.startswith(\n
transaction.getSourceSection() or \'\')\n
\n \n
if is_source:\n if is_source:\n
mirror_section_title = mvt.getDestinationSectionTitle()\n mirror_section_title = mvt.getDestinationSectionTitle()\n
......
793 794
\ No newline at end of file \ 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