Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2710 Lượt xem

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 ?        

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 19
9877
3
thg 2 19
7090
0
thg 10 17
2287
0
thg 3 15
6085
0
thg 2 17
3861