feat: Option to print UOM after quantity

Standard for ERPNext prints was UOM before quantity. Now user has a choice.
This commit is contained in:
Frappe ERPnext
2020-08-28 13:28:52 +02:00
parent b4a992e6a3
commit a787882a8f
2 changed files with 14 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
{{ doc.get_formatted("qty", doc) }}
{% if (doc.uom and not doc.is_print_hide("uom")) %}{{ _(doc.uom) }}
{% elif (doc.stock_uom and not doc.is_print_hide("stock_uom")) %}{{ _(doc.stock_uom) }}
{%- endif %}