From 391d1d091b9926db91445885b74de412faf58dce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 19:10:57 +1000 Subject: [PATCH] Remove reference to lead_time field (#12133) (#12134) Ref: https://github.com/inventree/InvenTree/discussions/8371#discussioncomment-17225032 (cherry picked from commit ca6f73e91922c8faed1f495e7ecac2ad1101f65d) Co-authored-by: Oliver --- docs/docs/report/context_variables.md | 1 - src/backend/InvenTree/company/models.py | 1 - 2 files changed, 2 deletions(-) diff --git a/docs/docs/report/context_variables.md b/docs/docs/report/context_variables.md index af38d594dc..f4ace37d19 100644 --- a/docs/docs/report/context_variables.md +++ b/docs/docs/report/context_variables.md @@ -342,7 +342,6 @@ Each part object has access to a lot of context variables about the part. The fo | note | Longer form note field | | base_cost | Base charge added to order independent of quantity e.g. "Reeling Fee" | | multiple | Multiple that the part is provided in | -| lead_time | Supplier lead time | | packaging | packaging that the part is supplied in, e.g. "Reel" | | pretty_name | The IPN, supplier name, supplier SKU and (if not null) manufacturer string joined by `|`. Ex. `P00037 | Company | 000021` | | unit_pricing | The price for one unit. | diff --git a/src/backend/InvenTree/company/models.py b/src/backend/InvenTree/company/models.py index 431f7ae11b..b75ef68b70 100644 --- a/src/backend/InvenTree/company/models.py +++ b/src/backend/InvenTree/company/models.py @@ -621,7 +621,6 @@ class SupplierPart( note: Longer form note field base_cost: Base charge added to order independent of quantity e.g. "Reeling Fee" multiple: Multiple that the part is provided in - lead_time: Supplier lead time packaging: packaging that the part is supplied in, e.g. "Reel" pack_quantity: Quantity of item supplied in a single pack (e.g. 30ml in a single tube) pack_quantity_native: Pack quantity, converted to "native" units of the referenced part