[FIX] report: make sure we can use an image path starting with the name of some modul...
authorVo Minh Thu <vmt@openerp.com>
Thu, 9 Feb 2012 10:05:07 +0000 (11:05 +0100)
committerNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>
Thu, 9 Feb 2012 10:05:07 +0000 (11:05 +0100)
lp bug: https://launchpad.net/bugs/781967 fixed

bzr revid: ls@numerigraphe.fr-20120209100507-l6tttjosnjzuvipc

bin/report/interface.py

index 36f54b3..eada9b8 100644 (file)
@@ -232,6 +232,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