openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06387
[Bug 927675] [NEW] update_list in base/module/module.py does not update the "icon" column
Public bug reported:
Hi!
I tried to add a /static/src/img/icon.png in my module, then I updated
the list of modules; the "icon" column was not updated. Same thing if I
remove the line corresponding to my module in ir_module_module table and
then update the module list.
Finally, after having looked at the 'update_list' method in base/module/module.py, it appears that only the fields available in the __openerp__.py file are updated, knowing:
return {
'description': terp.get('description', ''),
'shortdesc': terp.get('name', ''),
'author': terp.get('author', 'Unknown'),
'maintainer': terp.get('maintainer', False),
'contributors': ', '.join(terp.get('contributors', [])) or False,
'website': terp.get('website', ''),
'license': terp.get('license', 'AGPL-3'),
'certificate': terp.get('certificate') or False,
'complexity': terp.get('complexity', ''),
'sequence': terp.get('sequence', 100),
'application': terp.get('application', False),
'auto_install': terp.get('auto_install', False),
}
No trace of the icon.
Cheers!
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/927675
Title:
update_list in base/module/module.py does not update the "icon" column
Status in OpenERP Server:
New
Bug description:
Hi!
I tried to add a /static/src/img/icon.png in my module, then I updated
the list of modules; the "icon" column was not updated. Same thing if
I remove the line corresponding to my module in ir_module_module table
and then update the module list.
Finally, after having looked at the 'update_list' method in base/module/module.py, it appears that only the fields available in the __openerp__.py file are updated, knowing:
return {
'description': terp.get('description', ''),
'shortdesc': terp.get('name', ''),
'author': terp.get('author', 'Unknown'),
'maintainer': terp.get('maintainer', False),
'contributors': ', '.join(terp.get('contributors', [])) or False,
'website': terp.get('website', ''),
'license': terp.get('license', 'AGPL-3'),
'certificate': terp.get('certificate') or False,
'complexity': terp.get('complexity', ''),
'sequence': terp.get('sequence', 100),
'application': terp.get('application', False),
'auto_install': terp.get('auto_install', False),
}
No trace of the icon.
Cheers!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/927675/+subscriptions
Follow ups
References