Just to organize, I'm making a new topic from: http://openobject.com/forum/topic10287.html
How can I set attribute to a field based from an attribute of a many2one relation? Something like this: Object 1 is a category. <field name="category_name"/> <field name="child_has_field_a"/> Object 2 points to a category. <field name="many2one_category"/> <field name="field_a" attrs="{'readonly': [(many2one_category.child_has_field_a, '=', False)]}"/> Thanks, Gabriel C. Stabel -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=33432#33432 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
