Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2644 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 19
9797
3
úno 19
7014
0
říj 17
2226
0
bře 15
5971
0
úno 17
3786