Hi,

I have the following problem. I need the field to be editable only by some 
users. The field should be visible to all users.

I tried the following:

1. onChange method that checks role or group of current user -- not suitable -- 
I can stop user from changing field - e.g. display error message, but after 
pressing save button, the field is updated anyway

2. groups attribute in xml desribing a view -- not suitable -- it hides the 
field from some users

3. creating two views - one with field marked with readonly="1" attribute -- 
can't get it to work -- i use inheritance in view definition just to change one 
field to readonly, unfortunately this changes the 'parent' view as well

Please help. Thanks in advance.

szczytt




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

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

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


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

Reply via email to