2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 12:10:59 +00:00

Supplier pricing override (#3988)

* Adds new option for overriding supplier price break pricing data

* Add logic for overriding supplier part pricing with historical information

* Prevent caching
This commit is contained in:
Oliver
2022-11-22 16:28:55 +11:00
committed by GitHub
parent 4f5adef402
commit 8cd782dc8f
3 changed files with 18 additions and 4 deletions

View File

@ -1105,6 +1105,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'validator': bool,
},
'PRICING_PURCHASE_HISTORY_OVERRIDES_SUPPLIER': {
'name': _('Purchase History Override'),
'description': _('Historical purchase order pricing overrides supplier price breaks'),
'default': False,
'validator': bool,
},
'PRICING_USE_VARIANT_PRICING': {
'name': _('Use Variant Pricing'),
'description': _('Include variant pricing in overall pricing calculations'),