Code review comment for lp:~donkirkby/openobject-addons/mrp-jit-restart

Revision history for this message
Don Kirkby (donkirkby) wrote :

This is my suggestion for fixing bug lp:522977. I took the simplistic approach of just triggering the button_restart signal on all the procurements after the stock picking has been confirmed for a sales order. There may be a way to change the order of things so that the procurement can just flow all the way through its work flow the first time, but I'm not familiar enough with it to know.

I have done two simple tests for this fix:
1. I created a new database with the mrp_jit module and the sample data, and then created and confirmed a sales order for a PC1 product. The order immediately appeared in the Available Packing list for outgoing products. This was the original bug scenario.
2. I did the exact same scenario, but on a database without the mrp_jit module. No errors were raised, and the order appeared in the Available Packing list after I ran the Compute All Schedulers wizard.

« Back to merge proposal