Commit 1a75183a authored by Łukasz Nowak's avatar Łukasz Nowak

- use proper portal deliveries, based on proper portal types for this workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21987 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f5abf64
...@@ -75,10 +75,10 @@ packing_list.updateAppliedRule()\n ...@@ -75,10 +75,10 @@ packing_list.updateAppliedRule()\n
\n \n
\n \n
packing_list_portal_type = packing_list.getPortalType()\n packing_list_portal_type = packing_list.getPortalType()\n
if packing_list_portal_type == \'Sale Packing List\':\n if packing_list_portal_type == \'Production Packing List\':\n
delivery_builder = packing_list.portal_deliveries.sale_packing_list_builder\n delivery_builder = packing_list.portal_deliveries.production_packing_list_builder\n
elif packing_list_portal_type == \'Purchase Packing List\':\n elif packing_list_portal_type == \'Production Report\':\n
delivery_builder = packing_list.portal_deliveries.purchase_packing_list_builder\n delivery_builder = packing_list.portal_deliveries.production_report_builder\n
\n \n
packing_list_relative_url = packing_list.getRelativeUrl()\n packing_list_relative_url = packing_list.getRelativeUrl()\n
delivery_builder.updateFromSimulation(packing_list_relative_url)\n delivery_builder.updateFromSimulation(packing_list_relative_url)\n
......
251 252
\ 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