[MERGE] icon moved to description
bzr revid: al@openerp.com-20130628150755-2z42ct0p819ajtyq
This commit is contained in:
parent
074a521a58
commit
aa2a854af7
|
@ -244,7 +244,7 @@ def get_module_resource(module, *args):
|
|||
return False
|
||||
|
||||
def get_module_icon(module):
|
||||
iconpath = ['static', 'src', 'img', 'icon.png']
|
||||
iconpath = ['static', 'description', 'icon.png']
|
||||
if get_module_resource(module, *iconpath):
|
||||
return ('/' + module + '/') + '/'.join(iconpath)
|
||||
return '/base/' + '/'.join(iconpath)
|
||||
|
|
Loading…
Reference in New Issue