Commit df790863 authored by Sebastien Robin's avatar Sebastien Robin

allow to copy a list of destination in the simulation. This not

nice solution, but this code will change deeply once simulation
API is finished

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31288 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e8015fa
......@@ -81,6 +81,10 @@ class InvoicingRule(Rule):
'source_function': context_movement.getSourceFunction(),
'source_payment': context_movement.getSourcePayment(),
'source_account': context_movement.getSourceAccount(),
# this is required in order to have list of destination in the simulation
# XXX all this section will probably be removed once the simulation API
# will be fully reviewed
'destination_list': context_movement.getDestinationList(),
'destination': context_movement.getDestination(),
'destination_section': context_movement.getDestinationSection(),
'destination_decision': context_movement.getDestinationDecision(),
......
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