Comment 2 for bug 507533

Revision history for this message
David Janssens (david.j-almacom) wrote : Re: [Bug 507533] Re: attrs readonly doesn't work with one2many fields

for example:

<field name="lines" attrs="{'readonly':[('other_field','!=',123)]}"/>

it works for regular fields but not for one2many.
i checked in the form_state.js file in web client and saw that is
missing (although apparently it supports many2many).

Thanks,
--
David Janssens
Almacom (Thailand) Ltd.
http://almacom.co.th/

Cristian Salamea (GnuThink) wrote:
> Can you paste here how you are doing it?
>
> Cristian,
>
>