Lead times¶
Accurately forecasting delivery dates is vital for fulfilling customer expectations. In Odoo, the Inventory app allows for comprehensive lead time configuration, allowing coordination and planning of manufacturing orders, deliveries, and receipts.
Lead time types¶
Different lead times for different operations can impact various stages of the order fulfillment process. Here's a summary of the types of lead times in Odoo:

Customer lead time: default time frame for fulfilling customer orders. The customer lead time is the number of days from the date the sales order (SO) is confirmed to the date the products are shipped from the warehouse. This is also known as delivery lead time.
Thời gian dự phòng bán hàng: đẩy sớm ngày giao hàng dự kiến lên một số ngày được chỉ định. Nó đóng vai trò như thời gian đệm để bạn có đủ thời gian chuẩn bị lô hàng sớm hơn, đề phòng trường hợp có chậm trễ trong quá trình xử lý đơn hàng.
Purchase lead time: number of days from the confirmation of a purchase order (PO) to the receipt of products. It provides insight on the time it takes for products to arrive at the warehouse, facilitating effective scheduling and planning of supplier deliveries.
Thời gian dự phòng mua hàng: giúp đẩy sớm thời hạn đặt hàng trên PO lên một số ngày được chỉ định. Cách tiếp cận chủ động này giúp giảm thiểu rủi ro chậm trễ từ nhà cung cấp hoặc vận chuyển. Do đó, đối với các sản phẩm được thiết lập bổ sung theo đơn hàng, nhu cầu sẽ xuất hiện trên Báo cáo bổ sung hàng sớm hơn, theo số ngày đã xác định.
Days to Purchase: days needed for the vendor to receive a request for quotation (RFQ) and confirm it. It advances the deadline to schedule a RFQ by a specified number of days.
Manufacturing lead time: number of days needed to complete a manufacturing order (MO) from the date of confirmation. This lead time includes weekends (non-working hours in Odoo), and is used to forecast an approximate production date for a finished good.
Days to prepare manufacturing order: number of days needed to replenish components, or manufacture sub-assemblies of the product. Either set one directly on the bill of materials (BoM), or click Compute to sum up purchase and manufacturing lead times of components in the BoM.
Thời gian dự phòng sản xuất: đẩy ngày đã lên lịch của MO lên sớm hơn một số ngày được chỉ định. Khi sử dụng kết hợp với bổ sung theo đơn đặt hàng, thời gian dự phòng giúp hiển thị nhu cầu sớm hơn trên báo cáo bổ sung hàng.
Sales lead times¶
Thời gian hoàn thành và thời gian dự phòng bán hàng có thể được cấu hình để tự động tính toán ngày giao hàng dự kiến trên SO. Ngày giao hàng dự kiến đảm bảo tính toán được ngày giao hàng thực tế cho các lô hàng xuất từ kho.
Odoo issues a warning message if the set delivery date is earlier than the expected date, as it may not be feasible to fulfill the order by that time, which would impact other warehouse operations.
Example
Đơn bán hàng chứa sản phẩm Nến thơm hương dừa
được xác nhận vào ngày 11 tháng 7. Sản phẩm có thời gian hoàn thành là 14 ngày và doanh nghiệp đặt thời gian dự phòng bán hàng là 1 ngày. Dựa trên các thông số thời gian này, Odoo đề xuất ngày giao hàng sau 15 ngày, tức là ngày 26 tháng 7.

The following sections demonstrate how to automatically compute expected delivery dates.
Customer lead time¶
Đặt thời gian hoàn thành trên từng mẫu sản phẩm bằng cách đi đến trang sản phẩm. Để thực hiện, đi tới Tồn kho. Sau đó, dưới trường Thời gian hoàn thành, nhập số ngày theo lịch cần thiết để hoàn thành đơn giao hàng từ khi bắt đầu đến khi hoàn tất.
. Từ đó, chọn sản phẩm mong muốn và chuyển sang tabExample
Set a 14-day customer lead time for the Coconut-scented candle
by navigating to its product
form. Then, in the Inventory tab, type 14.00
days into the Customer Lead
Time field.

Thời gian dự phòng bán hàng¶
Thời gian dự phòng bán hàng được cấu hình chung cho toàn doanh nghiệp tại
.Trên trang cấu hình, dưới tiêu đề Lên lịch nâng cao, tìm ô Thời gian dự phòng cho bán hàng và tích vào hộp kiểm để kích hoạt tính năng này.
Tiếp theo, nhập số ngày theo lịch mong muốn. Thời gian dự phòng này là một khoảng thời gian đệm nhằm thông báo cho nhân viên phụ trách chuẩn bị hàng cần giao sớm hơn ngày dự kiến.
Example
Việc đặt Thời gian dự phòng cho bán hàng thành 1.00
ngày sẽ đẩy Ngày đã lên lịch của lệnh giao hàng (DO) lên sớm hơn một ngày. Ví dụ, nếu một sản phẩm ban đầu được lên lịch giao vào ngày 6 tháng 4, nhưng khi có thời gian dự phòng một ngày, thì ngày dự kiến mới cho đơn giao hàng sẽ là ngày 5 tháng 4.

Deliver several products¶
For orders that include multiple products with different lead times, the lead times can be configured directly from the quotation itself. On a quotation, click the Other Info tab, and set the Shipping Policy to:
As soon as possible to deliver products as soon as they are ready. The Scheduled Date of the DO is determined by adding today's date to the shortest lead time among the products in the order.
When all products are ready to wait to fulfill the entire order at once. The Scheduled Date of the DO is determined by adding today's date to the longest lead time among the products in the order.

Example
In a quotation containing 2 products, Yoga mat
and Resistance band,
the products have a lead
time of 8 days and 5 days, respectively. Today's date is April 2nd.
When the Shipping Policy is set to As soon as possible, the scheduled delivery date is 5 days from today: April 7th. On the other hand, selecting When all products are ready configures the scheduled date to be 8 days from today: April 10th.
Purchase lead times¶
Automatically determining the dates on which to place orders from suppliers can help simplify the procurement process.
Odoo tính toán ngày nhận hàng từ nhà cung cấp và thời hạn PO dựa trên ngày cần có sản phẩm trong kho. Bằng cách tính ngược từ ngày nhận hàng, hệ thống sẽ xem xét thời gian hoàn thành của nhà cung cấp và thời gian dự phòng mua hàng để xác định thời hạn cho PO.
This deadline is the date by which the order should be confirmed, in order to ensure timely arrival by the expected receipt date.

Vendor lead time¶
To set a vendor lead time for orders arriving in the warehouse from a vendor location, begin by navigating to a product form through
.Next, select the desired product, and switch to the Purchase tab. In the editable vendor pricelist, click the Add a line button to add vendor details, such as the Vendor name, Price offered for the product, and lastly, the Delivery Lead Time.
Ghi chú
Multiple vendors and lead times can be added to the vendor pricelist. The default vendor and lead time selected will be the entry at the top of the list.
Example
On the vendor pricelist of the product form, the Delivery Lead Time for the selected
vendor is set to 10 days.

By setting the vendor lead time, the expected arrival date of the item is automatically determined as the date of the PO confirmation, plus the vendor lead time. This ensures that warehouse employees are notified, if the products do not arrive within the expected timeframe.
Example
Trên Đơn mua hàng được xác nhận ngày 11 tháng 7 cho sản phẩm có thời gian hoàn thành của nhà cung cấp là 10 ngày, Odoo sẽ tự động đặt Ngày nhập kho là 21 tháng 7. Ngày nhập kho này cũng xuất hiện dưới dạng Ngày đã lên lịch trên biểu mẫu nhập kho, có thể truy cập từ nút thông minh Phiếu nhập kho nằm trên Đơn mua hàng (PO).


Thời gian dự phòng mua hàng¶
Thời gian dự phòng mua hàng được cấu hình chung cho toàn doanh nghiệp tại
.Trên trang Cài đặt, trong phần Lên lịch nâng cao, tích vào hộp kiểm dành cho Thời gian dự phòng cho mua hàng.
Tiếp theo, nhập số ngày theo lịch mong muốn. Bằng cách cấu hình thời gian dự phòng, một khoảng thời gian đệm được thiết lập để phòng ngừa các sự chậm trễ có thể xảy ra trong quá trình nhà cung cấp giao hàng. Sau đó, nhấp vào Lưu.
Example
Việc đặt Thời gian dự phòng cho mua hàng thành 2.00
ngày sẽ đẩy Ngày đã lên lịch của phiếu nhập kho lùi lại hai ngày. Ví dụ, nếu một sản phẩm ban đầu được lên lịch nhận vào ngày 6 tháng 4, nhưng khi có thời gian dự phòng hai ngày, thì ngày dự kiến mới cho phiếu nhập kho sẽ là ngày 8 tháng 4.

Days to purchase lead time¶
To set it up, go to Advanced Scheduling section, in the Days to Purchase field, specify the number of days required for the vendor to confirm a RFQ after receiving it from the company.
. Under theManufacturing lead times¶
Lead times can help simplify the procurement process for consumable materials and components used in manufactured products with bills of materials (BoMs).
Thời hạn MO, thời hạn bắt đầu quy trình sản xuất để hoàn thành sản phẩm theo ngày giao hàng dự kiến - có thể được xác định bằng cách cấu hình thời gian hoàn thành sản xuất và thời gian dự phòng sản xuất.

Manufacturing lead time¶
Manufacturing lead times for products are configured from a product's bill of materials (BoM) form.
To add a lead time to a BoM, navigate to
, and select the desired BoM to edit.On the BoM form, click the Miscellaneous tab. Change the value (in days) in the Manuf. Lead Time field to specify the calendar days needed to manufacture the product.

Ghi chú
If the selected BoM is a multi-level BoM, the manufacturing lead times of the components are added.
If the BoM product is subcontracted, the Manuf. Lead Time can be used to determine the date at which components should be sent to the subcontractor.
Establish a MO deadline, based on the expected delivery date, indicated in the Scheduled Date field of the DO.
The MO deadline, which is the Scheduled Date field on the MO, is calculated as the expected delivery date subtracted by the manufacturing lead time.
This ensures the manufacturing process begins on time, in order to meet the delivery date.
However, it is important to note that lead times are based on calendar days. Lead times do not consider weekends, holidays, or work center capacity (the number of operations that can be performed at the work center simultaneously).
Example
A product's scheduled shipment date on the DO is August 15th. The product requires 14 days to manufacture. So, the latest date to start the MO to meet the commitment date is August 1st.
Days to prepare manufacturing order¶
Configure the days required to gather components to manufacture a product by going to its BoM. To do that, go to
, and select the desired BoM.In the Miscellaneous tab of the BoM, specify the calendar days needed to obtain components of the product in the Days to prepare Manufacturing Order field. Doing so creates MOs in advance, and ensures there is enough time to either replenish components, or manufacture semi-finished products.
Mẹo
Clicking Compute, located next to the Days to prepare Manufacturing Order field, calculates the longest lead time among all the components listed on the BoM.
Thời gian dự phòng mua hàng ảnh hưởng đến BoM cụ thể này cũng được cộng vào giá trị này.
Example
A BoM has two components, one has a manufacturing lead time of two days, and the other has a purchase lead time of four days. The Days to prepare Manufacturing Order is four days.
Thời gian dự phòng sản xuất¶
Thời gian dự phòng sản xuất được thiết lập chung cho doanh nghiệp tại Kế hoạch, tích vào hộp kiểm cho Thời gian dự phòng.
. Trong phầnTiếp theo, nhập số ngày theo lịch mong muốn. Bằng cách cấu hình thời gian dự phòng, một khoảng thời gian đệm được thiết lập để phòng ngừa các sự chậm trễ có thể xảy ra trong quá trình sản xuất. Sau đó, nhấp vào Lưu.

Example
Một sản phẩm có ngày giao hàng dự kiến trên DO là ngày 15 tháng 8. Thời gian hoàn thành sản xuất là 7 ngày và thời gian dự phòng sản xuất là 3 ngày. Do đó, Ngày đã lên lịch trên MO phản ánh ngày muộn nhất để bắt đầu tiến hành lệnh sản xuất. Trong ví dụ này, ngày lên kế hoạch trên MO là ngày 5 tháng 8.
Global example¶
See the following example to understand how all the lead times work together to ensure timely order fulfillment:
Thời gian dự phòng bán hàng: 1 ngày
Thời gian dự phòng sản xuất: 2 ngày
Manufacturing lead time: 3 days
Thời gian dự phòng mua hàng: 1 ngày
Vendor lead time: 4 days
The customer places an order for a manufactured product on September 1st, and the scheduled delivery date from the warehouse is on September 20th. Odoo uses lead times and automated reordering rules to schedule the necessary operations, based on the outgoing shipment delivery date, September 20th:

September 1st: Sales order created, confirmed by salesperson.
September 9th: Deadline to order components to ensure they arrive in time when manufacturing begins (4-day supplier lead time).
Ngày 13 tháng 9: Ngày dự kiến nhận thành phần. Ban đầu được đặt là ngày 14 tháng 9, nhưng do thời gian dự phòng mua hàng là 1 ngày nên ngày nhận đã được đẩy sớm hơn 1 ngày.
Ngày 14 tháng 9: Thời hạn bắt đầu sản xuất. Được tính bằng cách lấy ngày giao hàng dự kiến vào ngày 19 tháng 9 trừ đi thời gian sản xuất (3 ngày) và thời gian dự phòng sản xuất (2 ngày).
Ngày 19 tháng 9: Ngày đã lên lịch trên biểu mẫu lệnh giao hàng thể hiện ngày giao hàng dự kiến đã được cập nhật, vốn ban đầu được đặt là ngày 20 tháng 9. Nhưng thời gian dự phòng bán hàng đã đẩy ngày này sớm lên một ngày.
Odoo's replenishment planning maps a business' order fulfillment process, setting pre-determined deadlines and raw material order dates, including buffer days for potential delays. This ensures products are delivered on time.