[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] [[ (o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]] [[ o.partner_id and display_address(o.partner_id) ]] Tel. : [[ (o.partner_id.phone) or removeParentNode('para') ]] Fax : [[ (o.partner_id.fax) or removeParentNode('para') ]] VAT : [[ (o.partner_id.vat) or removeParentNode('para') ]] Invoice [[ ((o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')) or removeParentNode('para')) and '' ]] [[ o.number ]] PRO-FORMA [[ ((o.type == 'out_invoice' and o.state == 'proforma2') or removeParentNode('para')) and '' ]] Draft Invoice [[ ((o.type == 'out_invoice' and o.state == 'draft') or removeParentNode('para')) and '' ]] Cancelled Invoice [[ ((o.type == 'out_invoice' and o.state == 'cancel') or removeParentNode('para')) and '' ]] [[ o.number ]] Refund [[ (o.type=='out_refund' or removeParentNode('para')) and '' ]] [[ o.number ]] Supplier Refund [[ (o.type=='in_refund' or removeParentNode('para')) and '' ]] [[ o.number ]] Supplier Invoice [[ (o.type=='in_invoice' or removeParentNode('para')) and '' ]] [[ o.number ]] Document Invoice Date Partner Ref. [[ o.name or ' ' ]] [[ formatLang(o.date_invoice,date=True) ]] [[ (o.partner_id.ref) or ' ' ]] Description Taxes Intrastat Weight Quantity Unit Price Disc. (%) Price
[[ repeatIn(o.invoice_line,'l') ]] [[ l.name ]] [[ ', '.join([lt.name for lt in l.invoice_line_tax_id]) ]] [[l.product_id and l.product_id.intrastat_id and l.product_id.intrastat_id.name or '']] [[ l.product_id and l.product_id.weight or '']] [[ formatLang(l.quantity) ]] [[ (l.uos_id and l.uos_id.name) or '' ]] [[ formatLang(l.price_unit) ]] [[ l.discount and formatLang (l.discount) or '' ]] [[ formatLang(l.price_subtotal, currency_obj=o.currency_id) ]] [[ format(l.note or removeParentNode('tr')) ]]
Total (excl. taxes): [[ formatLang(o.amount_untaxed, currency_obj=o.currency_id) ]] Taxes: [[ formatLang(o.amount_tax, currency_obj=o.currency_id) ]] Total (inclu. taxes): [[ formatLang(o.amount_total, currency_obj=o.currency_id) ]] Tax [[ o.tax_line==[] and removeParentNode('blockTable') ]] Base Amount
[[ repeatIn(o.tax_line,'t') ]] [[ t.name ]] [[ formatLang(t.base, digits=get_digits(dp='Account'), currency_obj = o.currency_id) ]] [[ (t.tax_code_id and t.tax_code_id.notprintable) and removeParentNode('blockTable') or '' ]] [[ formatLang(t.amount, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]]
[[ (o.comment and format(o.comment )) or removeParentNode('para') ]] [[ (o.payment_term and o.payment_term.note and format(o.payment_term and o.payment_term.note)) or removeParentNode('para') ]] Fiscal Position Remark : [[ (o.fiscal_position and o.fiscal_position.note and format(o.fiscal_position.note)) or removeParentNode('blockTable') ]]