Odoo Help

3 Answers

Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
2/20/13, 4:22 AM


The OpenERP scheduler computes everything per line, whether it's a manufacturing order, a delivery order, a sale order, etc. The delivery time is computed for each line like this: Sale Order Date (on the SO) + Customer Lead Time (on the SO line, coming from the product) - Security Days (on the company)

So, if your security days=0, on the scheduled delivery order, you have two lines (one for each product):

  1. Day + 3
  2. Day + 2

The expected delivery date on the delivery order is computed using the minimum expected delivery date of each line. This is normal, otherwise some products may be late according to what you promised to your customer.

This has nothing to do with the shipping policy or the MTS/MTO.

To get the details about how the scheduler computes, read the documentation: http://doc.openerp.com/v6.1/book/5/5_15_Manufacturing/5_15_Manufacturing_forecasting.html#lead-times

Ray Carnes
2/27/13, 6:15 PM

This is a big eye opener for me - I was certainly expecting different behavior! A delivery date of Day + 2 will make the Day + 3 product late. This would manifest as a problem in a case where 'deliver all products at once' is desired. Am I missing something?

3/6/13, 12:40 PM

I've tried inputting a few different numbers and the calculations that happen on the DO line items seem to be DO Time + Product Lead Time - Security Time; is this because I have it configured differently? I can't confirm on runbot; seems to be having issues.

Fabien Pinckaers (fp)
3/25/13, 12:09 PM

My mistake, it's '-' instead of '+' for security days. The documentation is quite clear on this topic: http://doc.openerp.com/v6.1/book/5/5_15_Manufacturing/5_15_Manufacturing_forecasting.html#lead-times

Ray Carnes
3/25/13, 6:51 PM

That documentation is not consistent with how OpenERP works - and there are bugs with the 'date calculation' part, as well as the storage/conversion of dates. These have already been reported and are being worked on now. Anyone following this can learn more at https://bugs.launchpad.net/openobject-addons/+bug/1153107


Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Business Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0, 11.0 and 12.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
2/19/13, 10:47 PM

Security Time is set via the menu sequence Settings --> Companies.

Switch to the Configuration tab.

image description

1 Comment
2/20/13, 4:27 AM

Ok, now I see it. The only problem is that in my configuration the Security Days are set to 0.0 days.

2/20/13, 4:31 AM

Ok, I think I've solved my problem.

When the "security days" are set to 0.00, it seems that OERP is taking 2 as a default value, don't know if that is the correct behaviour. I've set it to 1.00 and now the delivery order time is correct when both products are on stock.

Thank you.

Ask a Question
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now