diff --git a/addons/point_of_sale/pos_report.xml b/addons/point_of_sale/pos_report.xml index b079f6b9177..3e6a265b34e 100644 --- a/addons/point_of_sale/pos_report.xml +++ b/addons/point_of_sale/pos_report.xml @@ -9,7 +9,7 @@ name="pos.invoice" auto="False" multi="True" - rml="account/report/invoice.rml" + rml="account/report/account_print_invoice.rml" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [[ repeatIn(objects,'o') ]] - [[ setLang(o.user_id.context_lang) ]] - [[o.user_id.company_id.name]] - [[ address and address.street ]], [[ address and address.zip ]] [[ address and address.city ]] - Tel : [[ address and address.phone ]] - Fax : [[ address and address.fax ]] - E-mail : [[ address and address.email ]] - - - - - - - Operation N° : [[ o.name ]] - Date : [[ o.date_order ]] - - - - - - - Description - - - Qty - - - Price - - - -
- [[ repeatIn(o.lines,'line') ]] - - - - [[ len(line.product_id.name) > 39 and line.product_id.name[:39] + '...' or line.product_id.name ]] - - - [[ '%.f' % line.qty ]] - - - [[ '%.2f' % net(line.id) ]] - - - -
- - - - - - - Discount : - - - [[ not(disc(o.id)) and removeParentNode('blockTable') or disc(o.id) ]] [[ o.pricelist_id.currency_id.name ]] - - - - - - - Total : - - - [[ '%.2f' % o.amount_total ]] [[ o.pricelist_id.currency_id.name ]] - - - - - - - [[ repeatIn(o.statement_ids,'d') ]] - [[ d.name ]]: - - - [[ d.amount ]] - - - - - - - - - - - - - - - - -
-