mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 20:20:58 +00:00
fix default setting to not change current behaviour
This commit is contained in:
@ -726,8 +726,8 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'PART_NAME_FORMAT': {
|
||||
'name': _('Part Name Display Format'),
|
||||
'description': _('Format to display the part name'),
|
||||
'default': "{{ part.IPN if part.IPN }} {{ '|' if part.IPN }} {{ part.name }} {{ '|' if part.revision }}"
|
||||
" {{ part.revision }}",
|
||||
'default': "{{ part.IPN if part.IPN }}{{ ' | ' if part.IPN }}{{ part.name }}{{ ' | ' if part.revision }}"
|
||||
"{{ part.revision if part.revision }}",
|
||||
'validator': validate_part_name_format
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user