7.0 opw 607970 acl

3 stock move : A B C

A : auto_validate = true
B & C : move_dest_id = A

When action confirm is runned on B & C at the same time, A keep on assigned state.

To reproduce :
 Create 3 products:
 * PA : manufacture, consumable with phantom bom with PB and PC
 * PB, PC: buy, stockable

Then,
- Create a sale order with PA. Confirm
- Create invoice, confirm, register payemnt
- View delivery order, deliver the whole sale order

Without the patch : the sale order is not set to done though it should be (delivered and paid)