Revert "fetching supplier part for stock tables"

This reverts commit eaf191dc8d.
This commit is contained in:
Matthias 2021-07-06 21:20:27 +02:00
parent 9ed2338162
commit 98c52c06ac
8 changed files with 0 additions and 10 deletions

View File

@ -72,7 +72,6 @@ loadStockTable($("#stock-table"), {
params: {
location_detail: true,
part_detail: true,
supplier_part_detail: true,
build: {{ build.id }},
},
groupByField: 'location',

View File

@ -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' %}",

View File

@ -24,7 +24,6 @@
company: {{ company.id }},
part_detail: true,
supplier_detail: true,
supplier_part_detail: true,
location_detail: true,
},
buttons: [

View File

@ -23,7 +23,6 @@
supplier_part: {{ part.id }},
location_detail: true,
part_detail: false,
supplier_part_detail: true,
},
groupByField: 'location',
buttons: ['#stock-options'],

View File

@ -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: [

View File

@ -31,7 +31,6 @@ loadStockTable($("#stock-table"), {
params: {
location_detail: true,
part_detail: false,
supplier_part_detail: true,
ancestor: {{ item.id }},
},
name: 'item-childs',

View File

@ -265,7 +265,6 @@
{% endif %}
part_detail: true,
location_detail: true,
supplier_part_detail: true,
},
url: "{% url 'api-stock-list' %}",
});

View File

@ -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 %}