From feaae64ba2f183fa680215b0ce22a4e3580b6031 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Thu, 7 Jul 2011 17:46:46 +0530 Subject: [PATCH] [FIX] sale_layout: Report Order with layout aborted if lines type Note or Page break lp bug: https://launchpad.net/bugs/802410 fixed bzr revid: ara@tinyerp.com-20110707121646-qxscon9vg5whdn2h --- .../sale_layout/report/report_sale_layout.rml | 30 +------------------ addons/sale_layout/sale_layout_view.xml | 2 +- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/addons/sale_layout/report/report_sale_layout.rml b/addons/sale_layout/report/report_sale_layout.rml index 941df09aeb5..dfd0223f2a7 100644 --- a/addons/sale_layout/report/report_sale_layout.rml +++ b/addons/sale_layout/report/report_sale_layout.rml @@ -133,31 +133,6 @@ - - - - - - Description - - - VAT - - - Quantity - - - Unit Price - - - Disc.(%) - - - Price - - - - [[repeatIn(objects,'o')]] [[ setLang(o.partner_id.lang) ]] @@ -275,9 +250,7 @@ - - [[ a['layout_type']=='text' and removeParentNode('blockTable')]] - + [[ a['type']=='text' and removeParentNode('blockTable')]] [[ (a['layout_type']=='title' or a['layout_type']=='subtotal') and ( setTag('para','para',{'fontName':'Helvetica-bold'})) or removeParentNode('font') ]] [[ a['name'] ]] @@ -396,6 +369,5 @@ - \ No newline at end of file diff --git a/addons/sale_layout/sale_layout_view.xml b/addons/sale_layout/sale_layout_view.xml index 6dee4ddd62f..81d9af4ce73 100644 --- a/addons/sale_layout/sale_layout_view.xml +++ b/addons/sale_layout/sale_layout_view.xml @@ -44,7 +44,7 @@ - +