[IMP]:mrp:set internal header in production order and set title,author in BOM.
authorapa-tiny <apa@tinyerp.com>
Wed, 10 Nov 2010 12:55:33 +0000 (18:25 +0530)
committerapa-tiny <apa@tinyerp.com>
Wed, 10 Nov 2010 12:55:33 +0000 (18:25 +0530)
bzr revid: apa@tinyerp.com-20101110125533-cchre5zhaghkc7zm

addons/mrp/report/bom_structure.rml
addons/mrp/report/order.py

index 4f7672c..b3930f9 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
-<document filename="test.pdf">
-  <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
+<document filename="BOM Structure.pdf">
+  <template pageSize="(595.0,842.0)" title="BOM Structure" author="OpenERP S.A.(sales@openerp.com)" allowSplitting="20">
     <pageTemplate id="first">
       <frame id="first" x1="31.0" y1="30.0" width="532" height="781"/>
     </pageTemplate>
index 4481c2c..1c63180 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 ##############################################################################
-#    
+#
 #    OpenERP, Open Source Management Solution
 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 #
@@ -15,7 +15,7 @@
 #    GNU Affero General Public License for more details.
 #
 #    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 ##############################################################################
 
@@ -29,6 +29,6 @@ class order(report_sxw.rml_parse):
             'time': time,
         })
 
-report_sxw.report_sxw('report.mrp.production.order','mrp.production','addons/mrp/report/order.rml',parser=order,header=1)
+report_sxw.report_sxw('report.mrp.production.order','mrp.production','addons/mrp/report/order.rml',parser=order,header='internal')
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: