← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 664515] Re: on_change events on a field used in an attribute

 

Hello Leigh Willard,

Would you please tell me about the way you are making the field read
only. Whether it is of using states attribute or attrs. I have checked
this using an attrs and it is working fine under on_change event.

Thanks.

-- 
on_change events on a field used in an attribute
https://bugs.launchpad.net/bugs/664515
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
If you have a field readonly when state == draft and you use an on_change event on a different field which then changes the state, the readonly attribute doesn't get evaluated.  

ie. in draft state the field transaction# is readonly.  During an on_change event the state gets set to open but the transaction# stays read-only on the screen.





References