Comment 3 for bug 770392

Revision history for this message
Cuong (bhcuong2008) wrote :

Hi,

I tested with HDD1. I just wonder why order date of Delivery Order is in the past (25/Apr compared to sales order date 26/Apr), and expected date delivery to customer is 22/Apr. With any conditions (delivery lead time >, < supplier lead time, customer lead time), all these lead times must be summed together. Take your example above, with PC1
- supplier lead time: 5
- security day: 1
- delivery lead time: 2

When order date of SO is 26/Apr, order date of DO is also the same, 26/Apr. But Expected date of DO should be 04/May (lead time of 8 days from 26/Apr) if taking into account of Saturday, Sunday,...So I think the issue is at calculation in OpenERP, not at data, also it should take into account of working days, excluding Saturday, Sunday, holidays.

Thanks.