[FIX] Sale_Layout : Corrected the RML and SXW for the layout report which was failing...
authorValencia (OpenERP) <vro@tinyerp.com>
Fri, 5 Aug 2011 12:53:26 +0000 (18:23 +0530)
committerJay Vora (OpenERP) <jvo@tinyerp.com>
Fri, 5 Aug 2011 12:53:26 +0000 (18:23 +0530)
bzr revid: jvo@tinyerp.com-20110805125326-s33wm0c7rnskwite

addons/sale_layout/report/report_sale_layout.rml

index fd9cbe9..cbb1b3e 100644 (file)
         <tr>
           <td>
             <para style="terp_default_8">
-              <font face="Helvetica" size="9.0">[[ a['layout_type']=='text' and removeParentNode('blockTable')]]</font>
+              <font face="Helvetica" size="9.0">[[ a['layout_type'] in ('text','break') and removeParentNode('blockTable')]]</font>
             </para>
           </td>
           <td>
             <para style="terp_default_Centre_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['discount'], digits=get_digits(dp='Sale Price')) ]]</para>
           </td>
           <td>
-            <para style="terp_default_Right_9">[[ a['layout_type']=='break' and removeParentNode('blockTable')]]<font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['price_subtotal'], digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id.symbol ]]</para>
+            <para style="terp_default_Right_9"><font face="Helvetica" size="8.0">[[ a['layout_type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]]</font> [[ formatLang(a['price_subtotal'], digits=get_digits(dp='Sale Price')) ]] [[ o.pricelist_id.currency_id.symbol ]]</para>
           </td>
         </tr>
         <tr>