Add a "sales_order" reference to the Build model

- If a build order is made to fulfil a sales order
- Add sales_order filtering to the Build API
- Pass initial information through to the BuildCreate view
This commit is contained in:
Oliver Walters committed 2020-04-25 13:15:45 +10:00
1 parent b351976ae9
commit d5f3498238
8 files changed
+96 -29

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ class BuildSerializer(InvenTreeModelSerializer):
'completion_date',
'part',
'part_detail',
'sales_order',
'quantity',
'status',
'status_text',