[FIX]: mrp: Fixed layout of product cost structure report

lp bug: https://launchpad.net/bugs/834024 fixed

bzr revid: rpa@tinyerp.com-20110830112655-w3sw70mt7gjybscj
This commit is contained in:
Rucha (Open ERP) 2011-08-30 16:56:55 +05:30
parent ed2a5ecbe7
commit 874a48cfbd
2 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<xsl:template name="first_page_frames">
<xsl:if test="$page_format='a4_normal'">
<frame id="main" x1="1cm" y1="2.5cm" width="21.0cm" height="29.0cm"/>
<frame id="main" x1="1cm" y1="2.5cm" width="19.0cm" height="25.0cm"/>
</xsl:if>
<xsl:if test="$page_format='a4_letter'">
@ -49,7 +49,7 @@
</xsl:template>
<xsl:template name="other_pages_frames">
<frame id="main" x1="1cm" y1="2.5cm" width="21.0cm" height="29cm"/>
<frame id="main" x1="1cm" y1="2.5cm" width="19.0cm" height="25.0cm"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -3,6 +3,8 @@
<xsl:import href="custom_default.xsl"/>
<xsl:import href="custom_rml.xsl"/>
<xsl:variable name="page_format">a4_normal</xsl:variable>
<xsl:template match="/">
<xsl:call-template name="rml"/>
@ -11,7 +13,7 @@
<!-- stylesheet -->
<xsl:template name="stylesheet">
<paraStyle name="title" fontName="Helvetica-Bold" fontSize="15.0" leftIndent="-8.0cm" alignment="center"/>
<paraStyle name="title" fontName="Helvetica-Bold" fontSize="15.0" alignment="center"/>
<paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT"/>
<paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
<paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/>