Commit dff5f2dc authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Titouan Soulard

erp5_production_planning: create production order at planned state

parent 620476f2
...@@ -48,7 +48,7 @@ for cell_keys in production_planning.getCellKeys(): ...@@ -48,7 +48,7 @@ for cell_keys in production_planning.getCellKeys():
destination = 'organisation_module/test_psa_jv', destination = 'organisation_module/test_psa_jv',
destination_section = 'organisation_module/test_psa_jv' destination_section = 'organisation_module/test_psa_jv'
) )
production_order.autoPlan() production_order.plan()
created_production_order_dict[start_date] = production_order created_production_order_dict[start_date] = production_order
# Add new production order line for resource # Add new production order line for resource
production_order_line = production_order.newContent( production_order_line = production_order.newContent(
......
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