2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Removed global setting for manufacturer parts (enabled for all users)

This commit is contained in:
eeintech
2021-04-06 08:49:45 -04:00
parent fd66e8b136
commit bd65a42410
7 changed files with 2 additions and 34 deletions

View File

@ -146,8 +146,6 @@ InvenTree | {% trans "Search Results" %}
],
});
{% setting_object 'PART_ENABLE_MANUFACTURER_PARTS' as manufacturer_parts %}
{% if manufacturer_parts.value == "True" %}
addItem('manufacturer-part', '{% trans "Manufacturer Parts" %}', 'fa-toolbox');
loadManufacturerPartTable(
@ -162,7 +160,6 @@ InvenTree | {% trans "Search Results" %}
},
}
);
{% endif %}
addItem('supplier-part', '{% trans "Supplier Parts" %}', 'fa-pallet');

View File

@ -34,8 +34,6 @@
{% include "InvenTree/settings/setting.html" with key="PART_COPY_PARAMETERS" %}
{% include "InvenTree/settings/setting.html" with key="PART_COPY_TESTS" %}
{% include "InvenTree/settings/setting.html" with key="PART_CATEGORY_PARAMETERS" %}
<tr><td colspan='5'></td></tr>
{% include "InvenTree/settings/setting.html" with key="PART_ENABLE_MANUFACTURER_PARTS" %}
</tbody>
</table>