Commit 3d6be3e4 authored by Łukasz Nowak's avatar Łukasz Nowak

- use method, which is fetching proper object list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22548 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b76a2861
...@@ -70,8 +70,7 @@ domain_list = []\n ...@@ -70,8 +70,7 @@ domain_list = []\n
supply_chain_module = context.getPortalObject().supply_chain_module\n supply_chain_module = context.getPortalObject().supply_chain_module\n
if depth == 0:\n if depth == 0:\n
category_list = []\n category_list = []\n
for q in context.portal_selections.getSelectionValueList(context=context,\n for q in context.ProductionOrderModule_getSelectionProductionOrderList():\n
selection_name= \'production_order_selection\'):\n
specialise = q.getSpecialiseValue()\n specialise = q.getSpecialiseValue()\n
if specialise is not None and specialise not in category_list:\n if specialise is not None and specialise not in category_list:\n
category_list.append(specialise) \n category_list.append(specialise) \n
......
372 373
\ No newline at end of file \ No newline at end of file
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