${inv.partner_id.title or ''|entity} ${inv.partner_id.name |entity} |
${inv.address_invoice_id.street or ''|entity} |
${inv.address_invoice_id.street2 or ''|entity} |
${inv.address_invoice_id.zip or ''|entity} ${inv.address_invoice_id.city or ''|entity} |
%if inv.address_invoice_id.country_id :
${inv.address_invoice_id.country_id.name or ''|entity} |
%endif
%if inv.address_invoice_id.phone :
${_("Tel") |entity}: ${inv.address_invoice_id.phone|entity} |
%endif
%if inv.address_invoice_id.fax :
${_("Fax") |entity}: ${inv.address_invoice_id.fax|entity} |
%endif
%if inv.address_invoice_id.email :
${_("E-mail") |entity}: ${inv.address_invoice_id.email|entity} |
%endif
%if inv.partner_id.vat :
${_("VAT") |entity}: ${inv.partner_id.vat|entity} |
%endif
%if inv.type == 'out_invoice' :
${_("Invoice") |entity} ${inv.number or ''|entity}
%elif inv.type == 'in_invoice' :
${_("Supplier Invoice") |entity} ${inv.number or ''|entity}
%elif inv.type == 'out_refund' :
${_("Refund") |entity} ${inv.number or ''|entity}
%elif inv.type == 'in_refund' :
${_("Supplier Refund") |entity} ${inv.number or ''|entity}
%endif
${_("Document") |entity} | ${_("Invoice Date") |entity} | ${_("Partner Ref.") |entity} |
${inv.name} | ${formatLang(inv.date_invoice, date=True)|entity} | |
${_("Description") |entity} | ${_("Taxes") |entity} | ${_("QTY") |entity} | ${_("Unit Price") |entity} | ${_("Disc.(%)") |entity} | ${_("Price") |entity} |
%for line in inv.invoice_line :
${line.name|entity} | ${ ', '.join([ tax.name or '' for tax in line.invoice_line_tax_id ])|entity} | ${line.quantity} | ${formatLang(line.price_unit)} | ${line.discount or 0.00} | ${formatLang(line.price_subtotal)} |
%if line.note :
${line.note |entity} |
%endif
%endfor
| | | | Net Total: | ${formatLang(inv.amount_untaxed)} |
| | | | Taxes: | ${formatLang(inv.amount_tax)} |
| | | | Total: | ${formatLang(inv.amount_total)} |
Tax | ${_("Base") |entity} | ${_("Amount") |entity} |
%if inv.tax_line :
%for t in inv.tax_line :
${ t.name|entity } |
${ t.base|entity} |
${ formatLang(t.amount) } |
%endfor
%endif
|
${_("Total") |entity} |
${ formatLang(inv.amount_tax) } |
%endfor