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

take funding into account

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ae88d7a
......@@ -74,6 +74,8 @@ reversal = accounting_module.newContent (\n
destination_project=context.getDestinationProject(),\n
source_function=context.getSourceFunction(),\n
destination_function=context.getDestinationFunction(),\n
source_funding=context.getProperty(\'source_funding\'),\n
destination_funding=context.getProperty(\'destination_funding\'),\n
source_administration=context.getSourceAdministration(),\n
destination_administration=context.getDestinationAdministration(),\n
title = Base_translateString("Reversal Transaction for ${title}",\n
......@@ -136,6 +138,7 @@ for line in line_list:\n
\'source_payment\', \'destination_payment\',\n
\'source_project\', \'destination_project\',\n
\'source_function\', \'destination_function\',\n
\'source_funding\', \'destination_funding\',\n
\'resource\', \'product_line\' ]:\n
if line.getProperty(prop) != context.getProperty(prop):\n
new_line.setProperty(prop, line.getProperty(prop))\n
......
1440
\ No newline at end of file
1441
\ 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