Odoo Help


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.


how to display priority widget in website ?

aneesh ATEES Infomedia Pvt Ltd
on 9/3/15, 1:55 AM 444 views

How to show the priority widget icon in website


Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
| 5 3 6
Rajkot, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 9/13/15, 9:13 AM

Dear aneesh,

Generally priority widget use in selection field data type. 

Here Given simple example of how to use priority widget.  


in python file.


('0', 'Very Low'),

('1', 'Low'),

('2', 'Normal'),

('3', 'High'),

('4', 'Very High'),


'priority': fields.selection(AVAILABLE_PRIORITIES, 'Priority')


in XML file

<field name="priority" widget="priority"/>

Now may be you can use priority widget

Thanks & Regards  

Ankit H Gandhi

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

2 follower(s)


Asked: 9/3/15, 1:55 AM
Seen: 444 times
Last updated: 9/14/15, 2:49 AM