Commit 8a551780 authored by Julien Muchembled's avatar Julien Muchembled

Indent parts of 2 solver methods before actually edit them

parent 8d213f3c
...@@ -68,6 +68,7 @@ class AcceptSolver(SolverMixin, ConfigurableMixin, XMLObject): ...@@ -68,6 +68,7 @@ class AcceptSolver(SolverMixin, ConfigurableMixin, XMLObject):
if solved_property_list is None: if solved_property_list is None:
portal_type = self.getPortalObject().portal_types.getTypeInfo(self) portal_type = self.getPortalObject().portal_types.getTypeInfo(self)
solved_property_list = portal_type.getTestedPropertyList() solved_property_list = portal_type.getTestedPropertyList()
if 1:
for simulation_movement in self.getDeliveryValueList(): for simulation_movement in self.getDeliveryValueList():
if activate_kw is not None: if activate_kw is not None:
simulation_movement.setDefaultActivateParameterDict(activate_kw) simulation_movement.setDefaultActivateParameterDict(activate_kw)
......
...@@ -92,6 +92,7 @@ class TradeModelSolver(AcceptSolver): ...@@ -92,6 +92,7 @@ class TradeModelSolver(AcceptSolver):
if applied_rule.getSpecialiseReference() == 'default_trade_model_rule': if applied_rule.getSpecialiseReference() == 'default_trade_model_rule':
trade_model_related_movement_list.append(movement) trade_model_related_movement_list.append(movement)
if 1:
# Second, apply changes on invoice lines to simulation movements, # Second, apply changes on invoice lines to simulation movements,
# then expand. # then expand.
for movement, simulation_movement_list in delivery_dict.iteritems(): for movement, simulation_movement_list in delivery_dict.iteritems():
......
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