2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

added permissions-check to bom

This commit is contained in:
Matthias 2021-06-23 01:26:07 +02:00
parent c8ff6ee0e2
commit 522ca161d6

View File

@ -140,7 +140,6 @@
</div>
</div>
<div class='panel panel-default panel-inventree'>
<div class='panel-heading'>
<h4>{% trans "Purchase Price" %}</h4>
@ -183,6 +182,7 @@
{% endif %}
{% if part.has_bom and roles.sales_order.view %}
<div class='panel panel-default panel-inventree'>
<div class='panel-heading'>
<h4>{% trans "BOM Cost" %}</h4>
@ -204,6 +204,8 @@
{% endif %}
</div></div>
</div>
{% endif %}
{% if part.salable and roles.sales_order.view %}
<div class='panel panel-default panel-inventree'>