Community mailing list archives

community@mail.odoo.com

Re: Field Security in odoo v8??

by
Martin Trigaux (mat)
- 02/16/2016 05:54:04
On 16/02/16 10:57, mihir shah wrote:
> but in in following  link attribute is given read and write.
> though it is not working. so read write attribute only works of version
> 7 code ??
> https://www.odoo.com/forum/help-1/question/read-only-field-for-certain-user-groups-51098

I don't think that code has ever worked in standard 7.0.

Checking access rights at the field level is quite complex and costly 
(beware of the performance impact).

Adding an attrs for readonly on the view will only be working for 
display, it will not be checked server side and does not prevent a user 
to modify it manually (through xmlrpc or forging request).

Martin

-- 
Martin Trigaux
Odoo
https://odoo.com
https://github.com/mart-e