fixed issue of stock_uom translator

This commit is contained in:
saurabh 2016-02-19 11:14:10 +05:30
parent 724b4b17a5
commit 9364f35a2c

View File

@ -1,4 +1,4 @@
{% if (doc.stock_uom and not doc.is_print_hide("stock_uom")) or (doc.uom and not doc.is_print_hide("uom")) -%}
<small class="pull-left">{{ _(doc.uom) or _(doc.stock_uom) }}</small>
<small class="pull-left">{{ _(doc.uom or doc.stock_uom) }}</small>
{%- endif %}
{{ doc.get_formatted("qty", doc) }}