2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Implement option to display labels "inline" in the browser

This commit is contained in:
Oliver Walters
2021-08-07 22:09:15 +10:00
parent d77b99c0ca
commit ca9536f687
4 changed files with 9 additions and 3 deletions

View File

@ -979,7 +979,10 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
@classmethod
def get_filters(cls, key, **kwargs):
return {'key__iexact': key, 'user__id': kwargs['user'].id}
return {
'key__iexact': key,
'user__id': kwargs['user'].id
}
class PriceBreak(models.Model):