2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

setting to control visibility of price

This commit is contained in:
2021-06-17 23:15:42 +02:00
parent 4c7508cd6b
commit 2d8b96a6b8
3 changed files with 9 additions and 0 deletions

View File

@ -205,6 +205,13 @@ class InvenTreeSetting(models.Model):
'validator': bool,
},
'PART_SHOW_PRICE_IN_FORMS': {
'name': _('Show Price in Forms'),
'description': _('Display part price in some forms'),
'default': True,
'validator': bool,
},
'REPORT_DEBUG_MODE': {
'name': _('Debug Mode'),
'description': _('Generate reports in debug mode (HTML output)'),