Skip to content
Snippets Groups Projects
Commit cf8b61c3 authored by Joren Van Onder's avatar Joren Van Onder Committed by Frédéric van der Essen
Browse files

[FIX] barcode_events: set parent to WebClient during creation

parent 1323316e
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ odoo.define('web.BarcodeEvents', function(require) {
init: function(parent) {
mixins.PropertiesMixin.init.call(this);
this.setParent(parent);
},
handle_buffered_keys: function() {
......
......@@ -37,7 +37,7 @@ var WebClient = Widget.extend({
this.menu_dm = new utils.DropMisordered();
this.action_mutex = new utils.Mutex();
this.set('title_part', {"zopenerp": "Odoo"});
this.barcode_events = new BarcodeEvents();
this.barcode_events = new BarcodeEvents(this);
},
start: function() {
var self = this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment