Odoo Help

2

1
1 Answer
2
Avatar

Zbik Poland

--Zbik--
12725
| 7 6 9
Łódź, Poland
--Zbik--


Zbik Poland
6/19/15, 7:02 AM

I found a solution:

Javascript:

openerp.my_module= function(instance) {
instance.web.FormView = instance.web.FormView.extend({
events: {
   'click #target': 'button_clicked',
},
button_clicked: function() {
  alert('Handler for .click() called.')
},
});
}



Ask a Question
Writer
12725
Zbik
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