Skip to content

Commit 564e99c

Browse files
committed
[IMP] inventory: security lead times fix
1 parent ee2126a commit 564e99c

File tree

6 files changed

+77
-45
lines changed

6 files changed

+77
-45
lines changed

content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment/lead_times.rst

+77-45
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ Lead times
77
.. |BoM| replace:: :abbr:`BoM (Bill of Materials)`
88
.. |BoMs| replace:: :abbr:`BoMs (Bills of Materials)`
99
.. |RFQ| replace:: :abbr:`RFQ (Request for Quotation)`
10+
.. |PO| replace:: :abbr:`PO (Purchase Order)`
1011

1112
Accurately forecasting delivery dates is vital for fulfilling customer expectations. In Odoo, the
12-
**Inventory** app allows for comprehensive lead time configuration, allowing coordination and planning
13-
of manufacturing orders, deliveries, and receipts.
13+
**Inventory** app allows for comprehensive lead time configuration, allowing coordination and
14+
planning of manufacturing orders, deliveries, and receipts.
1415

1516
Lead time types
1617
===============
@@ -149,28 +150,81 @@ and set the :guilabel:`Shipping Policy` to:
149150
delivery date is 5 days from today: April 7th. On the other hand, selecting :guilabel:`When all
150151
products are ready` configures the scheduled date to be 8 days from today: April 10th.
151152

152-
.. _inventory/warehouses_storage/purchase-lt:
153-
154153
Purchase lead times
155154
===================
156155

157-
Automatically determining the dates on which to place orders from suppliers can help simplify the
158-
procurement process.
156+
Automatically scheduling supplier orders streamlines procurement by showing users exactly when to
157+
confirm an request for quotation (RFQ) and when to expect the goods.
159158

160-
Odoo calculates the supplier shipment *receipt date*, and :abbr:`PO (Purchase Order)` deadline,
161-
based on the required date the product is needed in the warehouse. By working backwards from the
162-
receipt date, vendor lead times and purchase security lead times are taken into account, in order to
163-
determine the :abbr:`PO (Purchase Order)` deadline.
159+
.. list-table:: Key dates on an RFQ / PO
160+
:header-rows: 1
161+
:stub-columns: 1
164162

165-
This deadline is the date by which the order should be confirmed, in order to ensure timely arrival
166-
by the expected receipt date.
163+
* - Field
164+
- Description
165+
* - Order Deadline
166+
- Last calendar day to confirm the |RFQ| and convert it to a |PO|
167+
* - Expected Arrival
168+
- Arrival date of the products. Calculated by :math:`\text{Order Deadline} + \text{Vendor Lead
169+
Time}`
167170

168-
.. image:: lead_times/vendor-lead-times.png
169-
:alt: Visualization of PO deadline and receipt date used with vendor lead times.
171+
In addition, Odoo has global security lead times, which are buffers that widen the
172+
:ref:`just-in-time <inventory/warehouses_storage/just-in-time>` (JIT) forecast window. The security
173+
lead times affect **only** replenishment methods that use :doc:`pull rules
174+
<../../shipping_receiving/daily_operations/use_routes>`—for example :doc:`reordering rules
175+
<reordering_rules>` or :doc:`make to order (MTO) <mto>`. They do not change the interval between
176+
*Order Deadline* and *Expected Arrival*.
170177

171178
.. seealso::
172179
:doc:`PO scheduling with reordering rules <reordering_rules>`
173180

181+
.. list-table:: Global security lead time buffers
182+
:header-rows: 1
183+
:stub-columns: 1
184+
185+
* - Buffer
186+
- Purpose
187+
- Impact on dates
188+
* - :ref:`Purchase Security Lead Time <inventory/warehouses_storage/purchase-security-lt>`
189+
- Extra calendar days to account for delays. Typically used to account for weekends or
190+
holidays.
191+
- None on the |RFQ|/|PO|; adds buffer days in the :ref:`JIT forecast window
192+
<inventory/warehouses_storage/forecasted-date>`.
193+
* - :ref:`Days to Purchase <inventory/warehouses_storage/days-to-purchase>`
194+
- Days the vendor needs to review an |RFQ| after it is sent.
195+
- None on the |RFQ|/|PO|; adds buffer days in the :ref:`JIT forecast window
196+
<inventory/warehouses_storage/forecasted-date>`.
197+
198+
.. image:: lead_times/vendor-lead-times.png
199+
:alt: Visualization of PO deadline and receipt date used with vendor lead times.
200+
201+
.. example::
202+
To tie all the purchase lead times together, consider this:
203+
204+
- Today: April 21
205+
- :guilabel:`Vendor Lead Time`: 1 day
206+
- :guilabel:`Purchase Security Lead Time`: 4 days
207+
- :guilabel:`Days to Purchase`: 2 days
208+
209+
:math:`\text{Forecasted date} = 1 + 4 + 2`
210+
211+
Forecasted date = April 28
212+
213+
.. figure:: lead_times/forecasted-date-purchase.png
214+
:alt: Forecasted date calculation on the lead times pop-up.
215+
216+
Example of the :abbr:`JIT (just-in-time)` forecast window, which is April 21-28.
217+
218+
When creating an RFQ today:
219+
220+
- :guilabel:`Order Deadline`: April 23 (:math:`\text{Today} + 2`)
221+
- :guilabel:`Expected Arrival`: April 24 (:math:`\text{Order Deadline} + 1`)
222+
223+
.. image:: lead_times/order-deadline.png
224+
:alt: Order deadline displaying Apr 23 and Expected Arrival Apr 24.
225+
226+
.. _inventory/warehouses_storage/purchase-lt:
227+
174228
Vendor lead time
175229
----------------
176230

@@ -184,7 +238,11 @@ pricelist, click the :guilabel:`Add a line` button to add vendor details, such a
184238

185239
.. note::
186240
Multiple vendors and lead times can be added to the vendor pricelist. The default vendor and lead
187-
time selected will be the entry at the top of the list.
241+
time selected is the entry at the top of the list.
242+
243+
.. tip::
244+
A PO is marked late if the *Expected Arrival* date has passed, and appears in the *Late* box on
245+
the **Purchase** app's dashboard.
188246

189247
.. example::
190248
On the vendor pricelist of the product form, the :guilabel:`Delivery Lead Time` for the selected
@@ -193,46 +251,20 @@ pricelist, click the :guilabel:`Add a line` button to add vendor details, such a
193251
.. image:: lead_times/set-vendor.png
194252
:alt: Add delivery lead times to vendor pricelist on a product.
195253

196-
By setting the vendor lead time, the expected arrival date of the item is automatically determined
197-
as the date of the :abbr:`PO (Purchase Order)` confirmation, plus the vendor lead time. This ensures
198-
that warehouse employees are notified, if the products do **not** arrive within the expected
199-
timeframe.
200-
201-
.. example::
202-
On a :abbr:`PO (Purchase Order)` confirmed on July 11th, for a product configured with a 10-day
203-
vendor lead time, Odoo automatically sets the :guilabel:`Receipt Date` to July 21st. The receipt
204-
date also appears as the :guilabel:`Scheduled Date` on the warehouse receipt form, accessible
205-
from the :guilabel:`Receipt` smart button, located on the :guilabel:`PO (Purchase Order)`.
206-
207-
.. image:: lead_times/receipt-date.png
208-
:alt: Show expected *Receipt Date* of the product from the vendor.
209-
210-
.. image:: lead_times/scheduled-date-receipt.png
211-
:alt: Show expected *Scheduled Date* of arrival of the product from the vendor.
212-
213254
.. _inventory/warehouses_storage/purchase-security-lt:
214255

215256
Purchase security lead time
216257
---------------------------
217258

218-
*Purchase security lead time* is set globally for the business in :menuselection:`Inventory app -->
219-
Configuration --> Settings`.
259+
*Purchase security lead time* is a global buffer to account for delays, applied to **all** vendors.
260+
To set it, go to :menuselection:`Inventory app --> Configuration --> Settings`.
220261

221-
On the :guilabel:`Settings` page, under the :guilabel:`Advanced Scheduling` heading, tick the
222-
checkbox for :guilabel:`Security Lead Time for Purchase`.
262+
Under :guilabel:`Advanced Scheduling`, tick the :guilabel:`Security Lead Time for Purchase`
263+
checkbox.
223264

224265
Next, enter the desired number of calendar days. By configuring the security lead time, a buffer is
225266
set to account for potential delays in supplier deliveries. Then, click :guilabel:`Save`.
226267

227-
.. example::
228-
Setting the :guilabel:`Security Lead Time for Purchase` to `2.00` days, pushes the
229-
:guilabel:`Scheduled Date` of receipt back by two days. In that case, if a product is initially
230-
scheduled to arrive on April 6th, with a two-day security lead time, the new scheduled date for
231-
the receipt would be April 8th.
232-
233-
.. image:: lead_times/vendor-security.png
234-
:alt: Set security lead time for purchase from the Inventory > Configuration > Settings.
235-
236268
.. _inventory/warehouses_storage/days-to-purchase:
237269

238270
Days to purchase lead time

0 commit comments

Comments
 (0)