_make_production_consume_line immetiately confirms stock move created

Bug #1297353 reported by Holger Brunn (Therp)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP new WMS
Fix Released
Undecided
Unassigned

Bug Description

In _make_production_consume_line, action_confirm is called on every single stock move created. I propose making that optional (defaulting to True) so that we can to this for all moves at once in the mo's action_confirm. This gives me a major performance boost with a some hundreds of products mo.

Related branches

Changed in openerp-trunk-wms:
status: New → Confirmed
Revision history for this message
Josse Colpaert (OpenERP) (jco-openerp) wrote :

Indeed, this is a nice optimization. Parameter is not really needed even.

Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Thanks for the quick reply! Do you want me to remove the parameter from the MP or will you do that at merge time?

Revision history for this message
qdp (OpenERP) (qdp) wrote :

Your merge proposal has been merged into revision 9634. (i removed the parameter which was definitively not needed)

Thanks for the contribution. :-)

Changed in openerp-trunk-wms:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.