This is a sales invoice.
{% block recipient %} {{obj.partner.get_address_html()}} {% endblock %}
{% block intro %}

{{obj}}

{{_("User")}}: {{this.user}}
{{_("Date")}}: {{fdl(obj.voucher_date)}} {% endblock %}
{% block body %} {% if False %} {{as_table(rt.models.sales.ItemsByInvoicePrint.request(master_instance=obj))}} {% else %} {% for item in obj.items.order_by('seqno') %} {% endfor %}
{{_("Description")}} {{_("Unit price")}} {{_("Quantity")}} {{_("Price")}}
{% if item.description %}

{{item.title}}

{% if item.description.startswith("<") %} {{item.description}} {% else %} {{restify(item.description)}} {% endif %} {% else %}

{{item.title}}

{% endif %}
{{item.unit_price or ''}} {% if item.unit_price %} {{item.qty}} {% endif %} {{item.total_incl or ''}}
{% endif %} {% endblock %}
{% block payment %}

{% if obj.due_date %} {{_("Due date")}} : {{fds(obj.due_date)}}
{% endif %} {% if obj.payment_term %} {{_("Payment terms")}} : {{obj.payment_term}} {% endif %}

{% endblock %}