[minor] fixes in bom tree view template

This commit is contained in:
mbauskar 2017-04-13 14:29:19 +05:30
parent 2efe05c1ce
commit 40ca4c3bbb

View File

@ -15,7 +15,9 @@
<a style="margin-right: 7px; margin-bottom: 7px" class="btn btn-default btn-xs" href="#Form/BOM/{{ data.value }}">
{{ __("Open BOM {0}", [data.value.bold()]) }}</a>
{% endif %}
{% if data.item_code %}
<a class="btn btn-default btn-xs" href="#Form/Item/{{ data.item_code }}">
{{ __("Open Item {0}", [data.item_code.bold()]) }}</a>
{% endif %}
</p>
</div>