On 30/12/09 12:41 +0100, Udo Spallek wrote:
> Hello, 
> 
> to control the readonly state attribute of a button depending of an
> empty Many2Many field, I tried:
> 
> <button ... states="{'readonly': '''not bool(Many2ManyFieldName)'''}"/> 
> 
> But the button will not change the state to readonly when the Many2Many
> field is empty. Any hints?


Have you any log on the client side?

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: [email protected]
Jabber: [email protected]
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http://identi.ca/cedrickrier

Attachment: pgpOhwzvtcyrB.pgp
Description: PGP signature

Reply via email to