How to call a website widget in ode
-
This is my file which contains the template
'website_fb.fb_shared_post'
Qweb.add_template('website_fb_redertemplate.xml');
- Below code create website
widget
, so now if you call thiswidget
then how to do it. -
I am referring to the documentation
Odoo
but I don't understand anything for me, so please help me.var RenderTemplate = Widget.extend({ template: 'website_fb.fb_shared_post', events: { // DO some code }, init: function (el) { // DO some code }, start: function () { // DO some code } });
+3
source to share