Odoo Help


Does Numeric String values in Selection field will work for Status Bar?

komala kiran kumar. Parepalli
on 6/26/14, 10:24 AM 812 views


    I am facing an issue with the Status Bar widget in the OpenERP 7.0.

Here is the scenario:

I have created a Selection field as 

'Status':fields.selection([('999','Error'),('000','Ready'),('001','In Active'),('002','Active')],"ICP Status"),

and in the xml i defined it as clickable as True like

<field name="Status" widget="statusbar" clickable = "1"/>

Now I am hereby encountering a problem with clickable Option, When ever i am clicking on any status in the statusbar it is storing it as integer instead storing as actual string.

I mean if i clicked on the Active status it is storing 2 (integer) instead of '002' (string) and resulting with an error Pop-Up 

The value "2" is not in the Selection.

Did anyone faced the same issue or having any solution for this.

Any suggestions appreciable. Thanks in Advance.

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/26/14, 10:24 AM
Seen: 812 times
Last updated: 3/16/15, 8:10 AM