diff --git a/pos_barcode_tare/static/src/js/pos_barcode_tare.js b/pos_barcode_tare/static/src/js/pos_barcode_tare.js index 5c372201..d52d838c 100644 --- a/pos_barcode_tare/static/src/js/pos_barcode_tare.js +++ b/pos_barcode_tare/static/src/js/pos_barcode_tare.js @@ -243,7 +243,7 @@ odoo.define('pos_barcode_tare.screens', function (require) { this.close(); this.gui.show_screen(this.previous_screen); }, - renderElement: function (self) { + renderElement: function () { this._super(); var self = this; this.$('.back').click(function () {