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, > >
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, almacom. co.th/
--
David Janssens
Almacom (Thailand) Ltd.
http://
Cristian Salamea (GnuThink) wrote:
> Can you paste here how you are doing it?
>
> Cristian,
>
>