[fix] added exception in o2m when we query the value and the view is not yet intialized