mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Revert "fetching supplier part for stock tables"
This reverts commit eaf191dc8d
.
This commit is contained in:
parent
9ed2338162
commit
98c52c06ac
@ -72,7 +72,6 @@ loadStockTable($("#stock-table"), {
|
||||
params: {
|
||||
location_detail: true,
|
||||
part_detail: true,
|
||||
supplier_part_detail: true,
|
||||
build: {{ build.id }},
|
||||
},
|
||||
groupByField: 'location',
|
||||
|
@ -29,7 +29,6 @@ loadStockTable($("#stock-table"), {
|
||||
params: {
|
||||
customer: {{ company.id }},
|
||||
part_detail: true,
|
||||
supplier_part_detail: true,
|
||||
location_detail: true,
|
||||
},
|
||||
url: "{% url 'api-stock-list' %}",
|
||||
|
@ -24,7 +24,6 @@
|
||||
company: {{ company.id }},
|
||||
part_detail: true,
|
||||
supplier_detail: true,
|
||||
supplier_part_detail: true,
|
||||
location_detail: true,
|
||||
},
|
||||
buttons: [
|
||||
|
@ -23,7 +23,6 @@
|
||||
supplier_part: {{ part.id }},
|
||||
location_detail: true,
|
||||
part_detail: false,
|
||||
supplier_part_detail: true,
|
||||
},
|
||||
groupByField: 'location',
|
||||
buttons: ['#stock-options'],
|
||||
|
@ -26,7 +26,6 @@ loadStockTable($("#stock-table"), {
|
||||
purchase_order: {{ order.id }},
|
||||
part_detail: true,
|
||||
supplier_detail: true,
|
||||
supplier_part_detail: true,
|
||||
location_detail: true,
|
||||
},
|
||||
buttons: [
|
||||
|
@ -31,7 +31,6 @@ loadStockTable($("#stock-table"), {
|
||||
params: {
|
||||
location_detail: true,
|
||||
part_detail: false,
|
||||
supplier_part_detail: true,
|
||||
ancestor: {{ item.id }},
|
||||
},
|
||||
name: 'item-childs',
|
||||
|
@ -265,7 +265,6 @@
|
||||
{% endif %}
|
||||
part_detail: true,
|
||||
location_detail: true,
|
||||
supplier_part_detail: true,
|
||||
},
|
||||
url: "{% url 'api-stock-list' %}",
|
||||
});
|
||||
|
@ -134,7 +134,6 @@ addHeaderAction('stock-to-build', '{% trans "Required for Build Orders" %}', 'fa
|
||||
loadStockTable($('#table-recently-updated-stock'), {
|
||||
params: {
|
||||
part_detail: true,
|
||||
supplier_part_detail: true,
|
||||
ordering: "-updated",
|
||||
max_results: {% settings_value "STOCK_RECENT_COUNT" %},
|
||||
},
|
||||
@ -152,7 +151,6 @@ loadStockTable($("#table-expired-stock"), {
|
||||
expired: true,
|
||||
location_detail: true,
|
||||
part_detail: true,
|
||||
supplier_part_detail: true,
|
||||
},
|
||||
});
|
||||
|
||||
@ -162,7 +160,6 @@ loadStockTable($("#table-stale-stock"), {
|
||||
expired: false,
|
||||
location_detail: true,
|
||||
part_detail: true,
|
||||
supplier_part_detail: true,
|
||||
},
|
||||
});
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user