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

More intelligent passing of context data in AjaxView

- If context is not explicitly supplied, use default get_context_data() function
This commit is contained in:
Oliver Walters
2019-05-01 22:45:41 +10:00
parent 7f63a94f15
commit fbb9a708f5
2 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,7 @@ class BuildSerializer(InvenTreeModelSerializer):
'completion_date',
'part',
'quantity',
'is_active',
'status',
'status_text',
'notes']
@ -37,6 +38,7 @@ class BuildSerializer(InvenTreeModelSerializer):
'creation_date',
'completion_data',
'status_text',
'is_active',
]