Commit 07c65b2e authored by Jérome Perrin's avatar Jérome Perrin

change the way we get the title on the line if defined on the line, and on the...

change the way we get the title on the line if defined on the line, and on the delivery otherwise, because line.getTitle() now always return something

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20186 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6876430f
......@@ -127,7 +127,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n
else:\n
specific_reference = transaction.getDestinationReference()\n
displayed_transaction[transaction.getUid()] = 1\n
title = mvt.getTitle() or transaction.getTitle()\n
title = mvt.hasTitle() and mvt.getTitle() or transaction.getTitle()\n
date = brain.date\n
else:\n
specific_reference = \'\'\n
......
662
\ No newline at end of file
663
\ 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