跳至内容
菜单
此问题已终结
1 回复
2656 查看

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 ?        

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
10月 19
9807
3
2月 19
7034
0
10月 17
2250
0
3月 15
5996
0
2月 17
3814