[FIX] report: make sure we can use an image path starting with the name of some module,
irrespective of the different addons paths. lp bug: https://launchpad.net/bugs/781967 fixed bzr revid: vmt@openerp.com-20110915140229-4d43wtbwzxr7s74i
This commit is contained in:
@@ -233,6 +233,7 @@ class report_rml(report_int):
|
||||
def _get_path(self):
|
||||
ret = []
|
||||
ret.append(self.tmpl.replace(os.path.sep, '/').rsplit('/',1)[0]) # Same dir as the report rml
|
||||
ret.append('addons')
|
||||
ret.append(tools.config['root_path'])
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user