> 1. How to Hide that both check box,
Add invisible="True" to the check box fields in the View Architecture xml. > > 2. Set the default Value of : > a. x_student to 1 and x_teacher to 0 if the form accessed from the "Students" > sub menu > b. x_student to 0 and x_teacher to 1 if the form accessed from the "Teachers" > sub menu Tricky. When displaying the form you can right-click on a field (provided it is not invisible!) and set a default for it (in the GTK client at least). I don't think this will be sensitive to which menu was used to invoke the field, but you could try it. Most likely you will have to create another form so each menu invokes a different view. Then you can give each view a different default (I guess, I don't actually know how these defaults are stored.). -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=59876#59876 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users