Filtering fix for StockItem attachments

This commit is contained in:
Oliver 2021-07-08 10:41:18 +10:00
parent ff8ddfbb5c
commit 1a979fc113

View File

@ -37,7 +37,7 @@ loadAttachmentTable(
'{% url "api-stock-attachment-list" %}',
{
filters: {
item: {{ item.pk }},
stock_item: {{ item.pk }},
},
onEdit: function(pk) {
var url = `/api/stock/attachment/${pk}/`;