Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2659 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
out. 19
9809
3
fev. 19
7037
0
out. 17
2256
0
mar. 15
5996
0
fev. 17
3818