mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Add setting to show location path as plain text in tables (#9960)
* Add setting to show location path as plain text in tables * Use the Location Path setting also for Default Location in the PartTable * Add setting to show PartCategoty as plain text * Set DefaultLocationColumn defaultVisible to false * Fix typo * Simplify settings keys * Simplify the name attribute * Fix typo --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
		| @@ -225,6 +225,22 @@ USER_SETTINGS: dict[str, InvenTreeSettingsKeyType] = { | ||||
|         'default': False, | ||||
|         'validator': bool, | ||||
|     }, | ||||
|     'SHOW_FULL_LOCATION_IN_TABLES': { | ||||
|         'name': _('Show full stock location in tables'), | ||||
|         'description': _( | ||||
|             'Disabled: The full location path is displayed as a hover tooltip. Enabled: The full location path is displayed as plain text.' | ||||
|         ), | ||||
|         'default': False, | ||||
|         'validator': bool, | ||||
|     }, | ||||
|     'SHOW_FULL_CATEGORY_IN_TABLES': { | ||||
|         'name': _('Show full part categories in tables'), | ||||
|         'description': _( | ||||
|             'Disabled: The full category path is displayed as a hover tooltip. Enabled: The full category path is displayed as plain text.' | ||||
|         ), | ||||
|         'default': False, | ||||
|         'validator': bool, | ||||
|     }, | ||||
|     'NOTIFICATION_ERROR_REPORT': { | ||||
|         'name': _('Receive error reports'), | ||||
|         'description': _('Receive notifications for system errors'), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user