Commit a65e1bb1 authored by Tatuya Kamada's avatar Tatuya Kamada

* Fix the issue that Sale Packing List wrongly has Root Applied Rule sometimes...

* Fix the issue that Sale Packing List wrongly has Root Applied Rule sometimes when it is created by Delivery Builder with a site which has many activity nodes.
parent 6c9e9836
...@@ -61,16 +61,17 @@ packing_list = context\n ...@@ -61,16 +61,17 @@ packing_list = context\n
packing_list.PackingList_copyOrderProperties()\n packing_list.PackingList_copyOrderProperties()\n
\n \n
# Then, modify state\n # Then, modify state\n
packing_list_state = packing_list.getSimulationState()\n confirm_tag = \'%s_confirm\' % packing_list.getPath()\n
\n packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
if packing_list_state == "draft":\n (\'immediateReindexObject\',\'recursiveImmediateReindexObject\')),\n
packing_list.confirm(comment=translateString(\'Initialised by Delivery Builder.\'))\n tag=confirm_tag).Delivery_confirm()\n
\n \n
# First set the packing_list in the building state\n # First set the packing_list in the building state\n
packing_list.startBuilding()\n packing_list.startBuilding()\n
# Then an activity should put the causality state in diverged or solved\n # Then an activity should put the causality state in diverged or solved\n
packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))).updateCausalityState()\n (\'immediateReindexObject\',\'recursiveImmediateReindexObject\')),\n
after_tag=confirm_tag).updateCausalityState()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
2011-09-15 tatuya
* Fix the issue that Sale Packing List wrongly has Root Applied Rule sometimes when it is created by Delivery Builder with a site which has many activity nodes.
2011-06-23 tatuya 2011-06-23 tatuya
* Show the owner at Inventory module listbox because the inventories can be owned by multiple sections. * Show the owner at Inventory module listbox because the inventories can be owned by multiple sections.
......
1134 1135
\ 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