Commit d3024b3d authored by Romain Courteaud's avatar Romain Courteaud

Do not use registerTargetSolver anymore.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3147 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd86b745
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
############################################################################## ##############################################################################
from Products.ERP5.Tool.SimulationTool import registerTargetSolver # from Products.ERP5.Tool.SimulationTool import registerTargetSolver
from CopyToTarget import CopyToTarget from CopyToTarget import CopyToTarget
from zLOG import LOG from zLOG import LOG
...@@ -59,4 +59,4 @@ class ProfitAndLoss(CopyToTarget): ...@@ -59,4 +59,4 @@ class ProfitAndLoss(CopyToTarget):
# The calling method must call Delivery.updateSimulationDeliveryProperties once # The calling method must call Delivery.updateSimulationDeliveryProperties once
# all the movements have been solved # all the movements have been solved
registerTargetSolver(ProfitAndLoss) # registerTargetSolver(ProfitAndLoss)
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
############################################################################## ##############################################################################
from Products.ERP5.Tool.SimulationTool import registerTargetSolver #from Products.ERP5.Tool.SimulationTool import registerTargetSolver
from TargetSolver import TargetSolver from TargetSolver import TargetSolver
class Reduce(TargetSolver): class Reduce(TargetSolver):
...@@ -42,4 +42,4 @@ class Reduce(TargetSolver): ...@@ -42,4 +42,4 @@ class Reduce(TargetSolver):
# We should access the previous_target globaly # We should access the previous_target globaly
#previous_target = self.getPreviousTarget(movement) #previous_target = self.getPreviousTarget(movement)
registerTargetSolver(Reduce) #registerTargetSolver(Reduce)
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