Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2664 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ott 19
9817
3
feb 19
7038
0
ott 17
2258
0
mar 15
5998
0
feb 17
3819