i created a module in openerp it have textbox, dropdown list etc for adding the student details. so iwant to add a radio button field to that form.
i just add the following line in python code.
'rd':fields.radio([('state','State'),('cbse','CBSE')],'Syllabus',required=True),
'rd':fields.radiobutton([('state','State'),('cbse','CBSE')],'Syllabus',required=True),
but in the first case in the form displays a dropdown list.
The line on the xml view is given below.
and also try this
please give suggestion to me..
↧