[[ repeatIn(objects,'o') ]] [[ setLang(o.partner_id.lang) ]] Shipping address : [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ o.partner_shipping_id.title or '' ]] [[ o.partner_shipping_id.name ]] [[ o.partner_shipping_id.street ]] [[ o.partner_shipping_id.street2 or '' ]] [[ o.partner_shipping_id.zip or '' ]] [[ o.partner_shipping_id.city or '' ]] [[ o.partner_shipping_id.state_id and o.partner_shipping_id.state_id.name or '' ]] [[ o.partner_shipping_id.country_id and o.partner_shipping_id.country_id.name or '' ]] Invoice address : [[ o.partner_invoice_id.street ]][[ o.partner_invoice_id.street2 and ', %s' % o.partner_invoice_id.street2 or '' ]] [[ o.partner_invoice_id.zip or '' ]] [[ o.partner_invoice_id.city or '' ]] [[ ', %s' % (o.partner_invoice_id.country_id and o.partner_invoice_id.country_id.name or '') ]] [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ o.partner_order_id.title or '' ]] [[ o.partner_order_id.name ]] [[ o.partner_order_id.street ]] [[ o.partner_order_id.street2 or '' ]] [[ o.partner_order_id.zip or '' ]] [[ o.partner_order_id.city or '' ]] [[ o.partner_order_id.state_id and o.partner_order_id.state_id.name or '' ]] [[ o.partner_order_id.country_id and o.partner_order_id.country_id.name or '' ]] Tél. : [[ o.partner_order_id.phone or '' ]] Fax : [[ o.partner_order_id.fax or '' ]] TVA : [[ o.partner_id.vat or '' ]] [[ o.state=='draft' and 'Quotation ' or 'Order ' ]] N° : [[ o.name ]] Your order reference : [[ o.client_order_ref or '' ]] Date ordered : [[ time.strftime('%d/%m/%Y', time.strptime(o.date_order, '%Y-%m-%d')) ]] Our salesman : [[ o.user_id.name ]] Product Description Applicable Taxes Delay Qty Disc. Unit Price Net Price
[[ repeatIn(o.order_line,'line') ]] [[ line.name ]] [[ ', '.join(map(lambda x: x.name, line.tax_id))]] [[ line.delay ]] [[ line.product_uos_qty or line.product_uom_qty ]] [[ line.product_uos and line.product_uos.name or line.product_uom.name ]] [[ (line.discount and str(line.discount)+'%')or '' ]] [[ '%.2f' % line.price_unit ]] [[ '%.2f' % line.price_subtotal ]] [[ repeatIn((line.notes and [line.notes]) or [], 'l') ]] [[ l ]] [[ setTag('para','xpre') ]]
Net Total : [[ '%.2f' % o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]] Taxes : [[ '%.2f' % o.amount_tax ]] [[ o.pricelist_id.currency_id.name ]] TOTAL : [[ '%.2f' % o.amount_total ]] [[ o.pricelist_id.currency_id.name ]] [[ o.note or '' ]] [[ setTag('para','xpre') ]] [[ 'xpre' and o.partner_id.property_payment_term and o.partner_id.property_payment_term[1] ]] [[ setTag('para','xpre') ]]