Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2937 Vistas

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
oct 19
10299
3
feb 19
7325
0
oct 17
2567
0
mar 15
6450
0
feb 17
4141