Hi, I have a question (im using Odoo v9.0 alpha)
ive added a field in 'res_users' by override:
python code:
class res_users(osv.osv):
_name='res.users'
_inherit='res.users'
_columns={
'testing:fields.selection([('testing1','Testing1'),('testing2','Testing2')],'Testing'),
}
res_users()
xml code: ive added this line
<field name="testing" widget="radio"/>
So we are able to display a 2 radio button like this
o Testing1 Option 1
o Testing2 Option 2
is it possible to generate (n) number of options for my radio button (earlier there are only 2 options) now i want for example, the number of records in my customize module is 4 how will i edit my definition here so it will be depending on the number of records of my customize module 'testing:fields.selection([('testing1','Testing1'),('testing2','Testing2')],'Testing'),