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?

Cheers Udo

-- 
[email protected] mailing list

Reply via email to