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="&#123;'inivisible'&#58;True&#125;" 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 &#123;&#40;'default_x_student'&#58;1&#41;, 
&#40;'default_x_teacher'&#58;0&#41;&#125; 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

Reply via email to