Dear Hummingbird and all
> > > 1. How to Hide that both check box, > > > Add invisible="True" to the check box fields in the View Architecture xml. > How is the exact field constructor with that attribute ? I tried with : <field attrs="{'inivisible':True}" name="x_student"/> And it didn't work > > > > > > 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 > > > 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.). Well ... at last I did it about that default value. I put {('default_x_student':1), ('default_x_teacher':0)} in "context value" of Action definition. Still don't know how to invisible that checkbox field Sincerely -bino- -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=59892#59892 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users