We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07768f4 + 9eadf20 commit a4c70c8Copy full SHA for a4c70c8
web_m2x_options/static/src/js/form.js
@@ -412,7 +412,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
412
var open = (self.options && self.is_option_set(self.options.open));
413
if(open){
414
self.mutex.exec(function(){
415
- var id = parseInt($(ev.handleObj.selector).attr('data-id'));
+ var id = parseInt($(ev.currentTarget).data('id'));
416
self.do_action({
417
type: 'ir.actions.act_window',
418
res_model: self.field.relation,
0 commit comments