[FIX] stock: the scheduler must commit also when no procurement go from running -> done because there may be some that went from running -> exception
bzr revid: qdp-launchpad@openerp.com-20131217153258-vgtkr4wlqd4sn7m1
This commit is contained in:
parent
a44af74330
commit
2eacadc5d4
|
@ -292,7 +292,7 @@ class procurement_order(osv.osv):
|
|||
break
|
||||
done = self.check(cr, uid, ids, context=context)
|
||||
offset += len(ids) - len(done)
|
||||
if use_new_cursor and len(done):
|
||||
if use_new_cursor:
|
||||
cr.commit()
|
||||
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue