Commit add5261a authored by Sebastien Robin's avatar Sebastien Robin

there is no reason to limit the number of industrial phase on a supply link


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2d804504
......@@ -275,11 +275,6 @@ class SupplyChain(Path, XMLObject):
ind_phase_dict = {}
for supply_link in previous_supply_link_list:
ind_phase_value_list = supply_link.getIndustrialPhaseValueList()
if len(ind_phase_value_list) > 1:
# XXX FIXME
raise "SupplyChainError",\
"More than 1 industrial phase can not yet be defined on %r"\
% supply_link
for ind_phase in ind_phase_value_list:
ind_phase_dict[ind_phase] = 1
# Remove None value, and generate the 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