Commit 07a3076b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add fake implementations for SolverTypeInformation.conflictsWithSolver() and...

add fake implementations for SolverTypeInformation.conflictsWithSolver() and SolverTypeInformation.reduceConfigurationList().


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31377 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab22fc40
......@@ -50,3 +50,20 @@ class SolverTypeInformation(ERP5TypeInformation):
, PropertySheet.SolverType
, PropertySheet.Configurable
)
def conflictsWithSolver(self, other_solver):
"""
Returns True if the solver conflicts with other_solver. False else.
"""
# XXX real implementation is needed.
return False
def reduceConfigurationList(self, configuration_property_id_list):
"""
Note: if one reduces production by 10% for one line and one reduces
production by 20% for another line or for the same line the total
reduction is 20% for both lines this is the goal of
reduceConfigurationList
"""
# XXX real implementation is needed.
return configuration_property_id_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