Skip to Content
Menu
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
Oct 19
9987
3
Feb 19
7167
0
Oct 17
2374
0
Mar 15
6209
0
Feb 17
3942