Commit 0a7ebbe3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

now Solver Decision's delivery values are simulation movements.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36934 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45a154a1
......@@ -129,17 +129,15 @@ class SolverDecision(ConfigurableMixin, XMLObject):
Returns the HTML message that describes the detail of divergences to
be solved with this Solver Decision.
"""
movement_list = self.getDeliveryValueList()
message_list = []
for tester in self.getCausalityValueList():
for movement in movement_list:
for simulation_movement in movement.getDeliveryRelatedValueList():
message = tester.getExplanationMessage(simulation_movement)
if message is None:
continue
if all or len(message_list) == 0:
message_list.append(message)
elif len(message_list) == 1:
# XXX it should be a link to the detailed view.
message_list.append('...')
for simulation_movement in self.getDeliveryValueList():
message = tester.getExplanationMessage(simulation_movement)
if message is None:
continue
if all or len(message_list) == 0:
message_list.append(message)
elif len(message_list) == 1:
# XXX it should be a link to the detailed view.
message_list.append('...')
return ''.join(message_list)
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