Skip to content

Commit 10b27b4

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

File tree

6 files changed

+76
-45
lines changed

6 files changed

+76
-45
lines changed

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

+76-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,80 @@ 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+
- :math:`\text{Order Deadline} + \text{Vendor Lead Time}`
167169

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

171177
.. seealso::
172178
:doc:`PO scheduling with reordering rules <reordering_rules>`
173179

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

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

185238
.. note::
186239
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.
240+
time selected is the entry at the top of the list.
241+
242+
.. tip::
243+
A PO is marked late if the *Expected Arrival* date has passed, and appears in the *Late* box on
244+
the **Purchase** app's dashboard.
188245

189246
.. example::
190247
On the vendor pricelist of the product form, the :guilabel:`Delivery Lead Time` for the selected
@@ -193,46 +250,20 @@ pricelist, click the :guilabel:`Add a line` button to add vendor details, such a
193250
.. image:: lead_times/set-vendor.png
194251
:alt: Add delivery lead times to vendor pricelist on a product.
195252

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-
213253
.. _inventory/warehouses_storage/purchase-security-lt:
214254

215255
Purchase security lead time
216256
---------------------------
217257

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

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

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

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-
236267
.. _inventory/warehouses_storage/days-to-purchase:
237268

238269
Days to purchase lead time

0 commit comments

Comments
 (0)