Correction ......

> 
> 
> > 
> > 
> > > 
> > > 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.
> 


I just check that this methode for default value ONLY WORK in web-client.
It Didn't work in GTK client.

Sincerely
-bino-




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

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

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


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

Reply via email to