Odoo Help

0

0
1 Answer
0
Mohd Shoaib Sayyed
4/26/19, 4:44 AM

Hi, 

Just add below changes

 var AbstractAction = require('web.AbstractAction');

Instead of 
 var myWidget = Widget.extend({
})


Use 

 var myWidget = AbstractAction.extend({

})

Hope this will solve your issue.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now