From 9ce5a9823e5dc40143c1750824e200c2ac61870b Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 24 Jun 2021 21:48:00 +0200 Subject: [PATCH] added doc for internal price --- InvenTree/part/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 77ec693a3d..2b97fde596 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -1577,9 +1577,10 @@ class Part(MPTTModel): - Supplier price (if purchased from suppliers) - BOM price (if built from other parts) + - Internal price (if set for the part) Returns: - Minimum of the supplier price or BOM price. If no pricing available, returns None + Minimum of the supplier, BOM or internal price. If no pricing available, returns None """ # only get internal price if set and should be used