Support attachments against SupplierPart (#10724)

* Support attachments against SupplierPart

* Update CHANGELOG.md

* API update
This commit is contained in:
Oliver authored and GitHub committed 2025-10-31 21:23:23 +11:00
1 parent 0527d78ae6
commit 442a616432
4 files changed
+11 -1

No files matched your search

@@ -32,6 +32,7 @@ import {
} from '../../components/items/ActionDropdown';
import InstanceDetail from '../../components/nav/InstanceDetail';
import { PageDetail } from '../../components/nav/PageDetail';
import AttachmentPanel from '../../components/panels/AttachmentPanel';
import NotesPanel from '../../components/panels/NotesPanel';
import type { PanelType } from '../../components/panels/Panel';
import { PanelGroup } from '../../components/panels/PanelGroup';
@@ -283,6 +284,10 @@ export default function SupplierPartDetail() {
<Skeleton />
)
},
AttachmentPanel({
model_type: ModelType.supplierpart,
model_id: supplierPart?.pk
}),
NotesPanel({
model_type: ModelType.supplierpart,
model_id: supplierPart?.pk