Community mailing list archives

community@mail.odoo.com

Re: WRITE TO ONCHANGE READONLY FIELD

by
Holger Brunn
- 10/13/2016 10:20:14
> 

make the field readonly in the standard view, and add a view override
that applies only to certain groups using the little known field
https://github.com/OCA/OCB/blob/10.0/odoo/addons/base/ir/ir_ui_view.py#L163
to unset the readonly flag for the groups in question


-- 
Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

mail: holger@therp.nl
web: http://therp.nl
phone: +31 (0)20 3093096