mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	[UI] Shipments table (#10675)
* Display PendingShipments panel - Overview of all outstanding shipments * Update UI tests * Bump API version
This commit is contained in:
		| @@ -1,11 +1,14 @@ | ||||
| """InvenTree API version information.""" | ||||
|  | ||||
| # InvenTree API version | ||||
| INVENTREE_API_VERSION = 419 | ||||
| INVENTREE_API_VERSION = 420 | ||||
| """Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" | ||||
|  | ||||
| INVENTREE_API_TEXT = """ | ||||
|  | ||||
| v420 -> 2025-10-26 : https://github.com/inventree/InvenTree/pull/10675 | ||||
|     - Adds optional "customer_detail" filter to SalesOrderShipment API endpoint | ||||
|  | ||||
| v419 -> 2025-10-24 : https://github.com/inventree/InvenTree/pull/10659 | ||||
|     - Fixes regression introduced in v417 which reverted the changes from v416 | ||||
|  | ||||
|   | ||||
| @@ -1320,6 +1320,7 @@ class SalesOrderShipmentSerializer( | ||||
|             'notes', | ||||
|             # Extra detail fields | ||||
|             'checked_by_detail', | ||||
|             'customer_detail', | ||||
|             'order_detail', | ||||
|             'shipment_address_detail', | ||||
|         ] | ||||
| @@ -1352,6 +1353,13 @@ class SalesOrderShipmentSerializer( | ||||
|         True, | ||||
|     ) | ||||
|  | ||||
|     customer_detail = enable_filter( | ||||
|         CompanyBriefSerializer( | ||||
|             source='order.customer', many=False, read_only=True, allow_null=True | ||||
|         ), | ||||
|         False, | ||||
|     ) | ||||
|  | ||||
|     shipment_address_detail = enable_filter( | ||||
|         AddressBriefSerializer( | ||||
|             source='shipment_address', many=False, read_only=True, allow_null=True | ||||
|   | ||||
		Reference in New Issue
	
	Block a user