← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 645172] Re: readonly="1" works only for some types of fields

 

Hello Lionel,

    I don't see any erroneous behavior. You are getting wrong view due to the field definition. Look at the .py definition of those fields. They are decorated with 'states' attribute and they get higher priority than xml attribute ofcourse.
   This is not a bug, you might need to change the _columns definition for these fields.

Let me know if this is still not clear.
Thanks

-- 
readonly="1" works only for some types of fields
https://bugs.launchpad.net/bugs/645172
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Won't Fix
Status in OpenObject GTK Client 5.0 series: New
Status in OpenObject GTK Client trunk series: Invalid

Bug description:
In the current 5.0 client, it seems that you can't make all field read-only just by adding readonly="1".
It seems to work for char and float.
It seems NOT to work for one2many, many2one, date and selection.
Lionel