Skip to Content
मेन्यू
This question has been flagged

Hello Community,

I'm trying to inherit & extend this widget view One2ManyListView like this:

var form_relational = require('web.form_relational');
var One2ManyListViewInh = form_relational.One2ManyListView.extend({

but i get this error : errorTypeError: Cannot read property 'extend' 
how to properly extend this widget ?        

Avatar
Discard
Best Answer

console the form_relational and ensure the objects are available, also one2manylistview has extend property.

Avatar
Discard
Related Posts Replies Views Activity
2
अक्तू॰ 19
9801
3
फ़र॰ 19
7023
0
अक्तू॰ 17
2230
0
मार्च 15
5975
0
फ़र॰ 17
3792