Commit 630e8230 authored by Romain Courteaud's avatar Romain Courteaud

Bug fix.

Get the relative url, not the logical path.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3600 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58b871a1
......@@ -222,7 +222,8 @@ class TransformationRule(Rule):
getPreviousProductionIndustrialPhaseList(previous_supply_link,
all=1)
if previous_ind_phase_list != []:
ind_phase_list = [x.getLogicalPath() for x in \
# Industrial phase is a category
ind_phase_list = [x.getCategoryRelativeUrl() for x in \
previous_ind_phase_list]
consumed_mvt_id = "%s_%s" % ("mr", id_count)
id_count += 1
......
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