Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

Uncaught (in promise) Error: QWeb2 - template['my_template']: Error evaluating template: SyntaxError: Unexpected identifier 'dict'

this error is caused by this line 

$('#my_container').append(qweb.render('my_template', {data: data}));

i want to replace a div(my_container) in website with a template that i've created

'assets': {
​'web.assets_frontend': [
​'my_module/static/src/js/my_js.js',
],
'web.assets_qweb': [
'my_module/static/src/xml/my_template.xml',
],
},
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
dec. 22
5904
0
dec. 24
1036
1
maj 24
1867
0
jan. 24
6987
0
mar. 21
2000