Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Where can I find list of available icons

By
Clément THOMAS
on 3/26/13, 6:29 AM 11,296 views

Hello,

I'm looking for list of available icons particulary for buttons in GTK for 6.0 version.

I've find the list of them with this command (linux only) :

cd path_of_openerp_addons

find -name *.xml | xargs grep "icon=\"" | awk -F "icon=\"" '{print $2}' | cut -d"\"" -f1 | awk '{if(x[$0] != "") next ; print $0 ; x[$0]=$0}' | sort

but I'm looking for official list,

thanks.

4
Hannes Smit
On 6/20/13, 6:09 AM

Example to look at:

You can check http://neynt.readthedocs.org/en/latest/stock.html

Open folder with thumbnails

web/7.0/addons/web/static/src/img/icons

Render a html view:

Locally you can build up a HTML view with a script like this (or use a remote website..):

# this is just an ugly start...
location = "http://localhost:8069/web/static/src/img/icons/%s.png"
icon_list = ['STOCK_ABOUT', 'STOCK_ADD', 'STOCK_APPLY', ] # etc etc
for icon in icon_list:
    print "<img src='%s'/>" % (location % icon)

The list: (for the googlers..)

In openerp 7 this seems to be currently:

'STOCK_ABOUT',
'STOCK_ADD',
'STOCK_APPLY',
'STOCK_BOLD',
'STOCK_CANCEL',
'STOCK_CDROM',
'STOCK_CLEAR',
'STOCK_CLOSE',
'STOCK_COLOR_PICKER',
'STOCK_CONNECT',
'STOCK_CONVERT',
'STOCK_COPY',
'STOCK_CUT',
'STOCK_DELETE',
'STOCK_DIALOG_AUTHENTICATION',
'STOCK_DIALOG_ERROR',
'STOCK_DIALOG_INFO',
'STOCK_DIALOG_QUESTION',
'STOCK_DIALOG_WARNING',
'STOCK_DIRECTORY',
'STOCK_DISCONNECT',
'STOCK_DND',
'STOCK_DND_MULTIPLE',
'STOCK_EDIT',
'STOCK_EXECUTE',
'STOCK_FILE',
'STOCK_FIND',
'STOCK_FIND_AND_REPLACE',
'STOCK_FLOPPY',
'STOCK_GOTO_BOTTOM',
'STOCK_GOTO_FIRST',
'STOCK_GOTO_LAST',
'STOCK_GOTO_TOP',
'STOCK_GO_BACK',
'STOCK_GO_DOWN',
'STOCK_GO_FORWARD',
'STOCK_GO_UP',
'STOCK_HARDDISK',
'STOCK_HELP',
'STOCK_HOME',
'STOCK_INDENT',
'STOCK_INDEX',
'STOCK_ITALIC',
'STOCK_JUMP_TO',
'STOCK_JUSTIFY_CENTER',
'STOCK_JUSTIFY_FILL',
'STOCK_JUSTIFY_LEFT',
'STOCK_JUSTIFY_RIGHT',
'STOCK_MEDIA_FORWARD',
'STOCK_MEDIA_NEXT',
'STOCK_MEDIA_PAUSE',
'STOCK_MEDIA_PLAY',
'STOCK_MEDIA_PREVIOUS',
'STOCK_MEDIA_RECORD',
'STOCK_MEDIA_REWIND',
'STOCK_MEDIA_STOP',
'STOCK_MISSING_IMAGE',
'STOCK_NETWORK',
'STOCK_NEW',
'STOCK_NO',
'STOCK_OK',
'STOCK_OPEN',
'STOCK_PASTE',
'STOCK_PREFERENCES',
'STOCK_PRINT',
'STOCK_PRINT_PREVIEW',
'STOCK_PROPERTIES',
'STOCK_QUIT',
'STOCK_REDO',
'STOCK_REFRESH',
'STOCK_REMOVE',
'STOCK_REVERT_TO_SAVED',
'STOCK_SAVE',
'STOCK_SAVE_AS',
'STOCK_SELECT_COLOR',
'STOCK_SELECT_FONT',
'STOCK_SORT_ASCENDING',
'STOCK_SORT_DESCENDING',
'STOCK_SPELL_CHECK',
'STOCK_STOP',
'STOCK_STRIKETHROUGH',
'STOCK_UNDELETE',
'STOCK_UNDERLINE',
'STOCK_UNDO',
'STOCK_UNINDENT',
'STOCK_YES',
'STOCK_ZOOM_100',
'STOCK_ZOOM_FIT',
'STOCK_ZOOM_IN',
'STOCK_ZOOM_OUT',
'terp-account',
'terp-crm',
'terp-mrp',
'terp-product',
'terp-purchase',
'terp-sale',
'terp-tools',
'terp-administration',
'terp-hr',
'terp-partner',
'terp-project',
'terp-report',
'terp-stock',
'terp-calendar',
'terp-graph',
'terp-check',
'terp-go-month',
'terp-go-year',
'terp-go-today',
'terp-document-new',
'terp-camera_test',
'terp-emblem-important',
'terp-gtk-media-pause',
'terp-gtk-stop',
'terp-gnome-cpu-frequency-applet+',
'terp-dialog-close',
'terp-gtk-jump-to-rtl',
'terp-gtk-jump-to-ltr',
'terp-accessories-archiver',
'terp-stock_align_left_24',
'terp-stock_effects-object-colorize',
'terp-go-home',
'terp-gtk-go-back-rtl',
'terp-gtk-go-back-ltr',
'terp-personal',
'terp-personal-',
'terp-personal+',
'terp-accessories-archiver-minus',
'terp-accessories-archiver+',
'terp-stock_symbol-selection',
'terp-call-start',
'terp-dolar',
'terp-face-plain',
'terp-folder-blue',
'terp-folder-green',
'terp-folder-orange',
'terp-folder-yellow',
'terp-gdu-smart-failing',
'terp-go-week',
'terp-gtk-select-all',
'terp-locked',
'terp-mail-forward',
'terp-mail-message-new',
'terp-mail-replied',
'terp-rating-rated',
'terp-stage',
'terp-stock_format-scientific',
'terp-dolar_ok!',
'terp-idea',
'terp-stock_format-default',
'terp-mail-',
'terp-mail_delete'

http://bazaar.launchpad.net/~openerp/openerp-web/7.0/files/head:/addons/web/static/src/img/icons/

Hannes Smit
on 6/20/13, 10:08 AM
2

Francesco OpenCode

--Francesco OpenCode--
3608
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 3/26/13, 6:35 AM

Go to the file openerp/server/bin/tools/misc.py and search the line number 1158. You can find all the icon supported by openERP.

Thanks, I also like to see icons with their codes. Where are they ?!

Clément THOMAS
on 3/26/13, 8:04 AM
2
jamesbale
On 3/26/13, 6:42 AM

In version 7

server/openerp/tools/misc.py

line no 605

He seeks version 6.0 information....;) Thanks for your answer. I think help other people...:)

Francesco OpenCode
on 3/26/13, 6:49 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/26/13, 6:29 AM
Seen: 11296 times
Last updated: 3/16/15, 8:10 AM