mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-13 08:21:26 +00:00
More work
- Consolidated "in_stock" filter to single code location - Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation - Various template improvements etc
This commit is contained in:
@ -118,6 +118,8 @@ class StockItemSerializer(InvenTreeModelSerializer):
|
||||
fields = [
|
||||
'allocated',
|
||||
'batch',
|
||||
'build_order',
|
||||
'belongs_to',
|
||||
'in_stock',
|
||||
'link',
|
||||
'location',
|
||||
@ -127,6 +129,7 @@ class StockItemSerializer(InvenTreeModelSerializer):
|
||||
'part_detail',
|
||||
'pk',
|
||||
'quantity',
|
||||
'sales_order',
|
||||
'serial',
|
||||
'supplier_part',
|
||||
'supplier_part_detail',
|
||||
|
Reference in New Issue
Block a user