> <field attrs="{'inivisible':True}" name="x_student"/>
There's a typo in there, but it should be sufficient to do this: <field invisible="1" name="x_student"/> attrs is only necessary if the property is conditional. > I just check that this methode for default value ONLY WORK in web-client. > It Didn't work in GTK client. Could be a bug, but more likely you're doing it wrong. Instead of putting defaults in the context try setting them on the form with right-click (ctrl-right-click in the web client). -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=59923#59923 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users