Community mailing list archives


Re: Make the whole record readonly in a specific state

Martin Trigaux (mat)
- 05/30/2016 06:37:39
On 30/05/16 12:07, Yassine Teimi wrote:
> I did a group on all fields inside the form tag, like:
> > ... > > > > Is that correct ? I don't think the readonly attribute will be propagated to the child of a group, should probably be set directly on the fields. Also you need to have the field `reporting_state` to be present in the view (even in invisible) for the attrs to be evaluated. -- Martin Trigaux Odoo