Commit 43149f7f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_production_planning: set related url property after apply

parent acbe1915
......@@ -54,7 +54,10 @@ for cell_keys in production_planning.getCellKeys():
portal_type='Production Order Line',
resource_uid = resource_uid,
quantity = cell_quantity)
cell.edit(specialise_value = production_order_line)
cell.edit(
specialise_value = production_order_line,
related_url = production_order.getAbsoluteUrl()
)
portal.portal_workflow.doActionFor(
production_order_line,
"edit_action",
......
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