Lionel:

What I need is a field that is readonly for some users (group) and editable for 
other users (group).

I was unable to achieve this functionality with single OpenERP view:
*groups tag which hides the field is not suitable (field must be visible to all)
* onchange function with authorisation check will not work as well (it does not 
have access to pervious value of the field, so it cannot reverse the change)

So until there is security on field level I had to create exactly the same view 
(copy-paste) with one field set as readonly. I also though about a wizard to 
change this single view, but creating duplicated view is easier to implement.

Maybe you have an idea to achive this in more elegant manner?

szczytt




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=45727#45727

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to