[Erp5-report] r31288 seb - /erp5/trunk/products/ERP5/Document/InvoicingRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 14 17:12:32 CET 2009
Author: seb
Date: Mon Dec 14 17:12:28 2009
New Revision: 31288
URL: http://svn.erp5.org?rev=31288&view=rev
Log:
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
Modified:
erp5/trunk/products/ERP5/Document/InvoicingRule.py
Modified: erp5/trunk/products/ERP5/Document/InvoicingRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InvoicingRule.py?rev=31288&r1=31287&r2=31288&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InvoicingRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/InvoicingRule.py [utf8] Mon Dec 14 17:12:28 2009
@@ -81,6 +81,10 @@
'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(),
More information about the Erp5-report
mailing list