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:
@ -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'),
|
||||
|
Reference in New Issue
Block a user