[[ repeatIn(objects,'o') ]] [[ repeatIn(o.dest_address_id and [o.dest_address_id] or [],'addr') ]] Shipping address : [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ addr.title or '' ]] [[ addr.name ]] [[ addr.street ]] [[ addr.street2 or '' ]] [[ addr.zip or '' ]] [[ addr.city or '' ]] [[ addr.state_id and addr.state_id.name or '' ]] [[ addr.country_id and addr.country_id.name or '' ]] [[ o.partner_id.title or '' ]] [[ o.partner_id.name ]] [[ o.partner_address_id.title or '' ]] [[ o.partner_address_id.name ]] [[ o.partner_address_id.street ]] [[ o.partner_address_id.street2 or '' ]] [[ o.partner_address_id.zip or '' ]] [[ o.partner_address_id.city or '' ]] [[ o.partner_address_id.state_id and o.partner_address_id.state_id.name or '' ]] [[ o.partner_address_id.country_id and o.partner_address_id.country_id.name or '' ]] Tel. : [[ o.partner_address_id.phone or '' ]] Fax : [[ o.partner_address_id.fax or '' ]] TVA : [[ o.partner_id.vat or '' ]] [[ (o.state=='draft' or removeParentNode('font')) and 'Request for Quotation' ]] [[ (o.state<>'draft' or removeParentNode('font')) and 'Purchase Order Confirmation' ]] N° [[ o.name ]] Our Order Reference Your Order Reference Date Ordered Validated By [[ o.name or '' ]] [[ o.partner_ref or '' ]] [[ time.strftime('%d/%m/%Y', time.strptime(line.date_planned, '%Y-%m-%d %H:%M:%S')) ]] [[ o.validator and o.validator.name or '' ]] Description Taxes Date Req. Qty Unit Price Net Price
[[ repeatIn(o.order_line,'line') ]] [[ line.name ]] [[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]] [[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]] [[ line.product_qty ]] [[ line.product_uom.name ]] [[ line.price_unit ]] [[ line.price_subtotal ]] [[ line.notes or removeParentNode('tr') ]]
Net Total : [[ o.amount_untaxed ]] [[ o.pricelist_id.currency_id.name ]] Taxes : [[ o.amount_tax ]] [[ o.pricelist_id.currency_id.name ]] Total : [[ o.amount_total ]] [[ o.pricelist_id.currency_id.name ]] [[ format(o.notes or '') ]]