How to retrive values in Many2one field as selection field?
How to retrieve values on Many2one field using OnChange ?
the student should be registered in one standard and one group ... the standard have multi groups
so i want that when i change the field standard .. the group field should be updated with the groups in that standard
When i try to do so it gives me an error
'Expected singleton: fci.standard.
I'm trying that when i change the standard field the group field will be updated to select only groups in this standard
Here is my fields
'standard_id': fields.
'group_id': fields.
Here is my function
def on_change_
val = {}
if not standard_id:
return {'value': val}
and here is my xml
<field name="standard_id" on_change=
<field name="group_id" widget=
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: