Commit 3d22250d authored by Jérome Perrin's avatar Jérome Perrin

update for new getTitle behaviour

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20216 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90b1796b
...@@ -139,7 +139,7 @@ for brain in portal.Base_zGetNotGroupedMovementList(\n ...@@ -139,7 +139,7 @@ for brain in portal.Base_zGetNotGroupedMovementList(\n
debit=debit,\n debit=debit,\n
credit=credit,\n credit=credit,\n
Movement_getExplanationTitle=\n Movement_getExplanationTitle=\n
mvt.getTitle() or transaction.getTitle()))\n mvt.hasTitle() and mvt.getTitle() or transaction.getTitle()))\n
\n \n
context.REQUEST.set(\n context.REQUEST.set(\n
\'Account_statNotGroupedAccountingTransactionList.total_debit\', total_debit)\n \'Account_statNotGroupedAccountingTransactionList.total_debit\', total_debit)\n
......
...@@ -131,7 +131,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n ...@@ -131,7 +131,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(\n
date = brain.date\n date = brain.date\n
else:\n else:\n
specific_reference = \'\'\n specific_reference = \'\'\n
title = mvt.getTitle() or \'\'\n title = mvt.hasTitle() and mvt.getTitle() or \'\'\n
date = None\n date = None\n
\n \n
line_list.append( Object(uid=\'new_\',\n line_list.append( Object(uid=\'new_\',\n
...@@ -166,6 +166,12 @@ return line_list\n ...@@ -166,6 +166,12 @@ return line_list\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>selection, at_date, from_date, portal_type, simulation_state, section_uid, payment_mode=None, payment=None, **kw</string> </value> <value> <string>selection, at_date, from_date, portal_type, simulation_state, section_uid, payment_mode=None, payment=None, **kw</string> </value>
......
664 668
\ 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