Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-382027-ado into 
lp:openobject-addons/6.0.

Requested reviews:
  nel (nel-tinyerp)
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-382027-ado/+merge/92008

Hello,

[FIX] layout problem in Product cost structure report

code is back-ported from trunk.

Thanks,
Amit

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-382027-ado/+merge/92008
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-382027-ado.
=== modified file 'mrp/report/custom_default.xsl'
--- mrp/report/custom_default.xsl	2011-01-14 00:11:01 +0000
+++ mrp/report/custom_default.xsl	2012-02-08 11:03:39 +0000
@@ -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>

=== modified file 'mrp/report/price.xsl'
--- mrp/report/price.xsl	2011-01-14 00:11:01 +0000
+++ mrp/report/price.xsl	2012-02-08 11:03:39 +0000
@@ -3,6 +3,7 @@
 
 	<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 +12,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"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to