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?
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/6/13, 6:49 AM|
|Seen: 5473 times|
|Last updated: 3/16/15, 8:10 AM|