Comment 2 for bug 850781

Revision history for this message
Ujjvala Collins (uco-openerp) wrote :

Hello Paulius Sladkevičius,

This problem has been solved in latest trunk addons.

You'll always get the stock moves according to the sequence of sale order lines as per the following line of code
on sale/sale.py : line #670,671
 date_planned = datetime.strptime(order.date_order, '%Y-%m-%d') + relativedelta(days=line.delay or 0.0)
 date_planned = (date_planned - timedelta(days=company.security_lead)).strftime('%Y-%m-%d %H:%M:%S')

I request you to update your code and check.

Hope this helps. And for now we're closing this issue.

Thanks,
Ujjvala