Thanks for you answer, Amit.
I'm already using this approach. In fact I was looking for a new one. Let me 
explain my real problem, so maybe some one know how to solve it.

Object 1 is a category.

<field name="category_name"/>
<field name="child_has_no_field_a"/>
<field name="child_has_no_field_b"/>


Object 2 points to a category.

<field name="many2one_category"/>
<field name="field_a"/>
<field name="field_b"/>


Depend on the category you pick some fields in Object2, like 'field_a' or 
'field_b', should become readonly (or invisilble).
So the field attributes in object 2 depend on values from fields in it's 
category.

Now I`m using a auxiliary field in Object 2 to do this. But I`m looking for a 
elegant way.

Thanks in advantage.
Gabriel C. Stabel




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=33429#33429

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to