Skip to Content
मेन्यू
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
Discard
Related Posts Replies Views Activity
2
दिस॰ 22
6118
0
दिस॰ 24
1170
1
मई 24
2036
0
जन॰ 24
7130
0
मार्च 21
2172