Keep 'stock actions' button enabled when on children tab

This commit is contained in:
eeintech 2020-12-17 17:37:54 -05:00
parent a8c6e79bc0
commit 1a48405491

View File

@ -114,7 +114,7 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
<!-- Stock adjustment menu -->
{% if roles.stock.change and not item.is_building %}
<div class='btn-group'>
<button id='stock-options' title='{% trans "Stock adjustment actions" %}' class='btn btn-default dropdown-toggle' type='button' data-toggle='dropdown'><span class='fas fa-boxes'></span> <span class='caret'></span></button>
<button id='stock-actions' title='{% trans "Stock adjustment actions" %}' class='btn btn-default dropdown-toggle' type='button' data-toggle='dropdown'><span class='fas fa-boxes'></span> <span class='caret'></span></button>
<ul class='dropdown-menu' role='menu'>
{% if item.in_stock %}
{% if not item.serialized %}