Rucha (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-834024-rpa into 
lp:openobject-addons.

Requested reviews:
  qdp (OpenERP) (qdp)
Related bugs:
  Bug #834024 in OpenERP Addons: "[6.0.3] product cost structure layout on 
second page is not correct"
  https://bugs.launchpad.net/openobject-addons/+bug/834024

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-834024-rpa/+merge/73358

Fixed layout of product cost structure report.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-834024-rpa/+merge/73358
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-834024-rpa.
=== modified file 'mrp/report/custom_default.xsl'
--- mrp/report/custom_default.xsl	2011-01-14 00:11:01 +0000
+++ mrp/report/custom_default.xsl	2011-08-30 11:34:18 +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	2011-08-30 11:34:18 +0000
@@ -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"/>

_______________________________________________
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