added doc for internal price

This commit is contained in:
Matthias 2021-06-24 21:48:00 +02:00
parent abe00232f3
commit 9ce5a9823e

View File

@ -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