2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-01-28 09:03:41 +00:00

Enable export of supplier price break data (#11153)

* Enable export of supplier price break data

* Bump API version
This commit is contained in:
Oliver
2026-01-17 23:23:15 +11:00
committed by GitHub
parent 31f32c3753
commit 75121c068e
4 changed files with 12 additions and 4 deletions

View File

@@ -1,11 +1,14 @@
"""InvenTree API version information."""
# InvenTree API version
INVENTREE_API_VERSION = 440
INVENTREE_API_VERSION = 441
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
INVENTREE_API_TEXT = """
v441 -> 2026-01-17 : https://github.com/inventree/InvenTree/pull/11153
- Allow export of supplier part pricing data
v440 -> 2026-01-15 : https://github.com/inventree/InvenTree/pull/10796
- Adds confirm and confirm_text to all settings

View File

@@ -447,7 +447,11 @@ class SupplierPriceBreakOutputOptions(OutputConfiguration):
class SupplierPriceBreakList(
SupplierPriceBreakMixin, SerializerContextMixin, OutputOptionsMixin, ListCreateAPI
DataExportViewMixin,
SupplierPriceBreakMixin,
SerializerContextMixin,
OutputOptionsMixin,
ListCreateAPI,
):
"""API endpoint for list view of SupplierPriceBreak object.

View File

@@ -540,8 +540,8 @@ class SupplierPartSerializer(
@register_importer()
class SupplierPriceBreakSerializer(
SupplierPriceBreakBriefSerializer,
DataImportExportSerializerMixin,
SupplierPriceBreakBriefSerializer,
InvenTreeModelSerializer,
):
"""Serializer for SupplierPriceBreak object.

View File

@@ -206,7 +206,8 @@ export default function SupplierPriceBreakTable({
supplier_detail: true
},
tableActions: tableActions,
rowActions: rowActions
rowActions: rowActions,
enableDownload: true
}}
/>
</>