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

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

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

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'),