Its indicate no selection constraint in database. Selection must be
set as a list of tuples or a callable that returns a list of tuples
In below code i have explain search_read
aselection = fields.Selection([('a', 'A')])
aselection = fields.Selection(selection=[('a', 'A')])
aselection = fields.Selection(selection='a_function_name')
Note- a list of tuple or a callable name that take recordset as input
.When extending a model, if you want to add possible values to a selection field, you may use the selection_add
0 Comment(s)