date issue with sales flow

Bug #770392 reported by Cuong
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

Hi,

While doing labs on Warehouse, I find that there is a date issue in sales flow. First create a new SO with ordered date of current date (for ex, 26/Apr). After confirm this SO, it will create Delivery Order with Ordered Date of 25/Apr, Expected (Scheduled Date) Date of 22/Apr. I think it should be some date in future such as 28/Apr due to lead time. Instead, it's back to the past. I think it's a bug.

Regards,

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

This is not a bug, but the demo data should be improved, for example lead time for products = 5 days, and security days = 1.

And for the all product the delivery lead time should be grater then the supplier lead time for example in pc1 there is a delivery lead time is 2 days this should be increased to 7 or more.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-770392-ron
Revision ID: <email address hidden>
Revision num:4677.

It will be available in trunk soon,

Changed in openobject-addons:
status: In Progress → Fix Committed
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.

Revision history for this message
Claire (cjin) wrote :

same understanding for this issue. Our company prefer to schedule after receiving SO from customer.

If we have in stock, we ususally will ship out on the same day when we receive SO.

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix with improved data has landed in trunk at revision 5036 revid:<email address hidden>
Thanks for helping to improve OpenERP!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.