[Erp5-report] r25391 - /erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 30 17:32:49 CET 2009


Author: jerome
Date: Fri Jan 30 17:32:48 2009
New Revision: 25391

URL: http://svn.erp5.org?rev=25391&view=rev
Log:
split and defer should copy price_currency, description and base contributions
to be consistent with rules

Modified:
    erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py

Modified: erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py?rev=25391&r1=25390&r2=25391&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py [utf8] (original)
+++ erp5/trunk/products/ERP5/TargetSolver/SplitAndDefer.py [utf8] Fri Jan 30 17:32:48 2009
@@ -67,11 +67,14 @@
                         deliverable=simulation_movement.isDeliverable(),
                         quantity=movement_quantity-new_movement_quantity,
                         price = simulation_movement.getPrice(),
+                        price_currency = simulation_movement.getPriceCurrency(),
                         source = simulation_movement.getSource(),
                         destination = simulation_movement.getDestination(),
                         source_section = simulation_movement.getSourceSection(),
                         resource = simulation_movement.getResource(),
                         destination_section = simulation_movement.getDestinationSection(),
+                        base_contribution_list=simulation_movement.getBaseContributionList(),
+                        description=simulation_movement.getDescription(),
                         activate_kw=self.activate_kw,
                         **self.additional_parameters
       )




More information about the Erp5-report mailing list