This syntax is incorrect. <field name="dept" select="0" attrs="{'readonly':[('sourcesel','openwell','in',['river','stream','canal','rains','pond','borewell','unlined'])]}"/>
the list of tuples must have only 3 arguments. 2 operand and one operator. It should be like this. <field name="dept" select="0" attrs="{'readonly':[('sourcesel','in',['river','stream','canal','rains','pond','borewell','unlined']),('openwell','in',['river','stream','canal','rains','pond','borewell','unlined'])]}"/> ------------------------ OpenERP=Easier, Adaptable, Affordable, Modular -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=40842#40842 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
