Well this is not a bug ..let me elaborate a bit...
As you must be aware that context on O2M can have values like "form_view_ref","tree_view_ref","group_by","model fields from view" etc......Now as some context are required to be evaluated at the start i.e while creating the view at client such as form/tree_view_ref, group_by etc so that they can be used to perform their task. Now if we look at your scenario then you will have a traceback because of the context eval at view creation but if you see that the same context is being passed in the methods that needs it..like fields_view_get,read,create,default_get,etc..... In short I mean is that the traceback want cost you anything !
Can you please have a look at the context dict that you receive in the method that you intended !
Hello Thibaut Dirlik,
Well this is not a bug ..let me elaborate a bit...
As you must be aware that context on O2M can have values like "form_view_ ref","tree_ view_ref" ,"group_ by","model fields from view" etc......Now as some context are required to be evaluated at the start i.e while creating the view at client such as form/tree_view_ref, group_by etc so that they can be used to perform their task. Now if we look at your scenario then you will have a traceback because of the context eval at view creation but if you see that the same context is being passed in the methods that needs it..like fields_ view_get, read,create, default_ get,etc. .... In short I mean is that the traceback want cost you anything !
Can you please have a look at the context dict that you receive in the method that you intended !
Correct me if I am missing something !
regards,
Naresh