Detail in StockItem API now optional

This commit is contained in:
Oliver Walters committed 2019-05-23 22:57:45 +10:00
1 parent 9052ccc181
commit 5664fc5472
6 files changed
+42 -9

No files matched your search

@@ -17,6 +17,8 @@
url: "{% url 'api-stock-list' %}",
params: {
supplier: {{ company.id }},
part_detail: true,
location_detail: true,
},
buttons: [
'#stock-options',