콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
12227 화면

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

아바타
취소
베스트 답변

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

아바타
취소
작성자

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