[6.1] [Trunk]icon in zipped application

Bug #1058042 reported by wowas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Status tracked in Trunk
6.1
Confirmed
Low
OpenERP Publisher's Warranty Team
Trunk
Invalid
Low
Unassigned

Bug Description

When place icon image /static/src/img/icon.png to unzipped module, then it show in kanban view OK.
But if zip module, then it will don't show!!!

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello wowas ,

I have checked this issue with latest updated code but I did not face any
problem with icon in kanban view when module is zip. I have
checked it with ubuntu 12.04 . So would you please provide detail
information regarding this issue.

Thanks and waiting for your reply!

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
wowas (wowas18) wrote :

Can you, please, download test module:
http://sourceforge.net/projects/urok3/files/codup.zip/download

If I place this module to addons folder (don't install, just place) then I can't view icon image.

But if I unzip it then all OK.

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

We face the same for js files! eg. pos module.

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
summary: - [6.1] icon in zipped application
+ [6.1] [Trunk]icon in zipped application
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello wowas ,

when I create new database with zip module , I can't view Icon in kanban ,
I find out that database does not store icon path for zip module.
After extract module it show icon on kanban. But After that I did not face this
problem with zip module.

After that its working fine with zip module.

where get_module_icon method find icon in module.
It finding path of icon is available in module by get_module_resource
method iconpath = ['static', 'src', 'img', 'icon.png']...

if you start web client with other port again problem persist with icon ,

So I assign this issue to web team.

Thanks ...

affects: openobject-server → openerp-web
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.