Hi Guys,
I know there is a lot of question regarding this, but I can't make it to work on my case.
I have field selected_subject_ids under student_registration object,
in the student_registration object i have field standard_id and inside of it i have fields many2many subject_ids.
Basically what I want to do is to filter the selected_subject_ids to only select subject under the standard_id.subject_ids
What I've tried so far in the selected_subject_ids field:
domain="[('id','in',standard_id.subject_ids)]"
domain="[('id','in',standard_id.subject_ids.ids)]"
domain="[('id','in',[i.id for i in standard_id.subject_ids])]"
I also try to change the operator to '=', same case...
But when I try to hard code it, it works..
domain="[('id','in',[1,2,3,4])]"
The error is :
TypeError: context is undefined
http://localhost:8088/web/static/src/js/view_list_editable.js:120