2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

settings for internal prices added

This commit is contained in:
2021-06-07 04:58:37 +02:00
parent 62638f76ed
commit 37c0025399
4 changed files with 27 additions and 2 deletions

View File

@ -205,6 +205,20 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_INTERNAL_PRICE': {
'name': _('Internal Prices'),
'description': _('Set internal prices for parts'),
'default': False,
'validator': bool
},
'PART_BOM_USE_INTERNAL_PRICE': {
'name': _('Internal Prices in BOM-Price'),
'description': _('Use the internal price (if set) for BOM-price calculations'),
'default': False,
'validator': bool
},
'REPORT_DEBUG_MODE': {
'name': _('Debug Mode'),
'description': _('Generate reports in debug mode (HTML output)'),