mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-17 17:58:22 +00:00
Fix currency rendering in order tables (#7066)
* Add "currency" to CompanyBriefSerializer * Fix nav.js bug - potential illegal chars in panel name * Update CUI tables * Update PUI tables * Bump API version
This commit is contained in:
@@ -42,7 +42,9 @@ class CompanyBriefSerializer(InvenTreeModelSerializer):
|
||||
"""Metaclass options."""
|
||||
|
||||
model = Company
|
||||
fields = ['pk', 'url', 'name', 'description', 'image', 'thumbnail']
|
||||
fields = ['pk', 'url', 'name', 'description', 'image', 'thumbnail', 'currency']
|
||||
|
||||
read_only_fields = ['currency']
|
||||
|
||||
url = serializers.CharField(source='get_absolute_url', read_only=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user