Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

Hi,

    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.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Sept. 23
2396
4
März 20
154
2
Dez. 17
16700
0
Apr. 15
3817
1
März 15
9372