Generally priority widget use in selection field data type.
Here Given simple example of how to use priority widget.
in python file.
AVAILABLE_PRIORITIES = [
('0', 'Very Low'),
('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
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: 9/3/15, 1:55 AM|
|Seen: 446 times|
|Last updated: 9/14/15, 2:49 AM|