[FIX] procurement: background procurement scheduler should be working in batch mode...
authorOlivier Dony <odo@openerp.com>
Mon, 1 Jul 2013 16:35:32 +0000 (18:35 +0200)
committerOlivier Dony <odo@openerp.com>
Mon, 1 Jul 2013 16:35:32 +0000 (18:35 +0200)
commit9b6f5dca9a63230ae45e16a25c4acc54dd54b65b
tree47db220250a417254623a23250b186bc00674844
parent00c1c134fc6d4bcf7be608cc18fbdf0669dbc783
[FIX] procurement: background procurement scheduler should be working in batch mode, with one transaction per order

A programming error during an older refactoring lead to
the scheduler working with a single monolithic transaction.
This could cause unnecessary resource contention, plus
undesired rollback of all previous operations in the event
of an exception during scheduling.

bzr revid: odo@openerp.com-20130701163532-8bekn7sbb99ua08c
addons/procurement/procurement_data.xml
addons/procurement/schedulers.py