[fixes] print_hide on stock uom and gross profit

This commit is contained in:
Rushabh Mehta
2015-04-13 15:31:24 +05:30
parent 39c84fe31c
commit 20bcf6aeff
3 changed files with 51 additions and 40 deletions

View File

@@ -1,2 +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>
{%- endif %}
{{ doc.get_formatted("qty", doc) }}