diff options
| author | gpa <gpa@tinyerp.com> | 2010-11-25 10:57:29 +0530 |
|---|---|---|
| committer | gpa <gpa@tinyerp.com> | 2010-11-25 10:57:29 +0530 |
| commit | 9de5e301e1cd721d2aa7521b648b297969bfcef0 (patch) | |
| tree | 309fc8f008343ca35c2e2888145a3dc814a0203f /bin/tools/convert.py | |
| parent | 1a6ab82f7bd3c03020ea077029a8a174d7342727 (diff) | |
Improvement for the transformation of the icon file paths inside
bzr revid: gpa@tinyerp.com-20101125052729-bajcewtj468rhcjx
Diffstat (limited to 'bin/tools/convert.py')
| -rw-r--r-- | bin/tools/convert.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/tools/convert.py b/bin/tools/convert.py index f549478bba5..756004f1e78 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -25,7 +25,6 @@ import logging import os.path import pickle import re -import addons # for eval context: import time @@ -638,11 +637,10 @@ form: module.record_id""" % (xml_id,) values['sequence'] = int(rec.get('sequence')) if rec.get('icon'): values['icon'] = str(rec.get('icon')) - if rec.get('web_icon'): - values['web_icon'] = addons.get_module_resource(self.module,str(rec.get('web_icon'))) + values['web_icon'] = "%s,%s" %(self.module, str(rec.get('web_icon'))) if rec.get('web_icon_hover'): - values['web_icon_hover'] = addons.get_module_resource(self.module,str(rec.get('web_icon_hover'))) + values['web_icon_hover'] = "%s,%s" %(self.module, str(rec.get('web_icon_hover'))) if rec.get('groups'): g_names = rec.get('groups','').split(',') |
