Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2734 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 19
9908
3
ก.พ. 19
7118
0
ต.ค. 17
2311
0
มี.ค. 15
6135
0
ก.พ. 17
3885