mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
[PUI] Sales order tables (#7793)
* Add placeholder for more sales order actions * Add <SalesOrderShipmentTable /> * Allow filtering by date fields * Add <ReturnOrderLineItemTable /> - Add label rendering for ReturnOrderLineItem * Add placeholder actions * Edit / delete / add line items for return order * Fix for duplicate action * Cleanup unused code * Bump API version * Update playwright tests
This commit is contained in:
@ -1,12 +1,16 @@
|
||||
"""InvenTree API version information."""
|
||||
|
||||
# InvenTree API version
|
||||
INVENTREE_API_VERSION = 231
|
||||
INVENTREE_API_VERSION = 232
|
||||
|
||||
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
|
||||
|
||||
|
||||
INVENTREE_API_TEXT = """
|
||||
|
||||
v232 - 2024-08-03 : https://github.com/inventree/InvenTree/pull/7793
|
||||
- Allow ordering of SalesOrderShipment API by 'shipment_date' and 'delivery_date'
|
||||
|
||||
v231 - 2024-08-03 : https://github.com/inventree/InvenTree/pull/7794
|
||||
- Optimize BuildItem and BuildLine serializers to improve API efficiency
|
||||
|
||||
|
@ -1042,7 +1042,9 @@ class SalesOrderShipmentList(ListCreateAPI):
|
||||
serializer_class = serializers.SalesOrderShipmentSerializer
|
||||
filterset_class = SalesOrderShipmentFilter
|
||||
|
||||
filter_backends = [rest_filters.DjangoFilterBackend]
|
||||
filter_backends = SEARCH_ORDER_FILTER_ALIAS
|
||||
|
||||
ordering_fields = ['delivery_date', 'shipment_date']
|
||||
|
||||
|
||||
class SalesOrderShipmentDetail(RetrieveUpdateDestroyAPI):
|
||||
|
Reference in New Issue
Block a user