This question has been flagged
1 Reply
11563 Views

Hello, I have a button into my list view, but it has only text and there are no Open ERP icon that have right meanings to this button.

So I 'd like to put an icon on the button but an icon that I have on the server.

Is it possible?

Thanks

Avatar
Discard
Best Answer

Ya it is possible. You just add the icon1.png file you need to the following 2 folders. 1. openerp-7.0-20130502-232432/openerp/addons/web/static/src/img/icons 2. openerp-7.0-20130502-232432/openerp/addons/point_of_sale/static/src/img/icons

Now you can use it in .xml as Eg:- <button name="button_click" type="object" string="Pay" icon="icon1"/>

It worked for me

Avatar
Discard
Author

It does't work for me. I have open erp v7...mayebe it comes from there... Howerver your solution don't satisfy myself because we have to "hard-add" the picture into the image server folder...It breaks the portability of the module....maybe is there a solution to access picture folder from the root modul?

Hello Sreedath Namangalam Is there any where to provide me the list of class for button for button class icon in OpenERP 7.0 only