Add setting to determine if supplier price breaks are used in overall price calculations (#3943)

This commit is contained in:
Oliver authored and GitHub committed 2022-11-17 09:27:07 +11:00
1 parent d7c4dd1f01
commit 1e1662ef0f
3 files changed
+26 -12

No files matched your search

+7
View File
@@ -1093,6 +1093,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
]
},
'PRICING_USE_SUPPLIER_PRICING': {
'name': _('Use Supplier Pricing'),
'description': _('Include supplier price breaks in overall pricing calculations'),
'default': True,
'validator': bool,
},
'PRICING_UPDATE_DAYS': {
'name': _('Pricing Rebuild Time'),
'description': _('Number of days before part pricing is automatically updated'),