[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] Description Taxes Quantity Unit Price Disc.(%) Price [[ (o.partner_id and o.partner_id.title and o.partner_id.title.name) or '' ]] [[ (o.partner_id and o.partner_id.name) or '' ]] [[ display_address(o.address_invoice_id) ]] Tel. : [[ (o.address_invoice_id and o.address_invoice_id.phone) or removeParentNode('para') ]] Fax : [[ (o.address_invoice_id and o.address_invoice_id.fax) or removeParentNode('para') ]] VAT : [[ (o.partner_id and 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 ]] Description Invoice Date Origin Customer Code [[ o.name or ' ' ]] [[ formatLang(o.date_invoice,date=True) ]] [[ o.origin or '' ]] [[ (o.address_invoice_id and o.address_invoice_id.partner_id and o.address_invoice_id.partner_id.ref) or ' ' ]] Description Taxes Quantity Unit Price Disc.(%) Price
[[ repeatIn(o.invoice_line,'l') ]] [[ l.name ]] [[ ', '.join([ lt.name or '' for lt in l.invoice_line_tax_id ]) ]] [[ formatLang(l.quantity)]] [[ (l.uos_id and l.uos_id.name) or '' ]] [[ formatLang(l.price_unit) ]] [[ formatLang(l.discount, dp='Account') ]] [[ formatLang(l.price_subtotal, dp='Account', currency_obj=o.currency_id) ]] [[ format(l.note or '') or removeParentNode('tr') ]]
Net Total: [[ formatLang(o.amount_untaxed, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]] Taxes: [[ formatLang(o.amount_tax, dp='Account', currency_obj=o.currency_id) ]] Total: [[ formatLang(o.amount_total, digits=get_digits(dp='Account'), currency_obj=o.currency_id) ]] Tax [[ o.tax_line==[] and removeParentNode('blockTable') ]] Base Amount
[[ repeatIn(o.tax_line,'t') ]] [[ t.name ]] [[ formatLang(t.base, 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') ]]