From a5d944fb87b43ba4045b67a80e568f65ea1df99f Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 28 May 2013 10:59:20 +0200 Subject: [PATCH] [IMP/FIX] base, res_company: changed the default headers in order to add the default styles in generated RML, to allow their modification (and the report printing of chinese characters, for example) bzr revid: qdp-launchpad@openerp.com-20130528085920-ifabgl11jfimixqd --- openerp/addons/base/res/res_company.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/openerp/addons/base/res/res_company.py b/openerp/addons/base/res/res_company.py index cd17f6da3d9..20e94b3e631 100644 --- a/openerp/addons/base/res/res_company.py +++ b/openerp/addons/base/res/res_company.py @@ -272,6 +272,10 @@ class res_company(osv.osv):
+ + + + @@ -281,6 +285,9 @@ class res_company(osv.osv): [[ company.partner_id.name ]] %s + + +
""" @@ -304,13 +311,16 @@ class res_company(osv.osv): - - + + + + + + [[ company.logo or removeParentNode('image') ]] -