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.
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 strptime( order.date_ order, '%Y-%m-%d') + relativedelta( days=line. delay or 0.0) days=company. security_ lead)). strftime( '%Y-%m- %d %H:%M:%S')
on sale/sale.py : line #670,671
date_planned = datetime.
date_planned = (date_planned - timedelta(
I request you to update your code and check.
Hope this helps. And for now we're closing this issue.
Thanks,
Ujjvala