diff --git a/addons/mrp/report/custom_default.xsl b/addons/mrp/report/custom_default.xsl index ce9ea180613..103128eb9f4 100644 --- a/addons/mrp/report/custom_default.xsl +++ b/addons/mrp/report/custom_default.xsl @@ -1,7 +1,7 @@ - Axair + Open ERP Report 1cm 1cm @@ -11,26 +11,49 @@ a4_letter + + + + + + + + + + / + + 1.3cm 28.1cm 20cm 28.1cm + + + + + + + + + + + + + + / + + 1.3cm 28.1cm 20cm 28.1cm + + - - - - - - - - + + + + + + + + - - - - - - - - + diff --git a/addons/mrp/report/custom_rml.xsl b/addons/mrp/report/custom_rml.xsl index 96d4f003f0c..e76ec2e947c 100644 --- a/addons/mrp/report/custom_rml.xsl +++ b/addons/mrp/report/custom_rml.xsl @@ -4,7 +4,7 @@ - + diff --git a/addons/mrp/report/price.py b/addons/mrp/report/price.py index f0fb1f3462d..762d1e4b2a6 100644 --- a/addons/mrp/report/price.py +++ b/addons/mrp/report/price.py @@ -18,7 +18,7 @@ # along with this program. If not, see . # ############################################################################## - +import time import ir import pooler from report.interface import report_rml @@ -95,12 +95,13 @@ class report_custom(report_rml): xml = '' config_start = """ - 09/09/2005 + %s + %s 210.00mm,297.00mm 595.27 841.88 55.00mm,55.00mm, 20.00mm, 22.00mm, 22.00mm, 25.00mm - """ + """ % (time.strftime('%m/%d/%Y %H:%M'),user_pool.browse(cr, uid, uid).company_id.name) config_stop = """ Generated by OpenERP