Commit c3ade06a authored by Jérome Perrin's avatar Jérome Perrin

pdm: repair inventory chart report

this report got broken in 2178cbed (pdm: fix pylint messages and
enable coding style test, 2020-03-09) there's no "Base" portal type.

This report has no test coverage, but the bigger problem is that the
graph from this report is not readable.
parent 0c098151
Pipeline #9878 failed with stage
......@@ -73,7 +73,7 @@ for a in range(0, len(inventory_tuple_list)):
data = inventory_tuple_list[a]
return_list.append(
portal.newContent(
portal_type='Base',
portal_type='Amount',
temp_object=True,
id=str(a),
title='title %s'%(a,),
......
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