Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2695 Prikazi

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
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
okt. 19
9871
3
feb. 19
7090
0
okt. 17
2286
0
mar. 15
6070
0
feb. 17
3856