Browse Source

Fix missing _t.

pull/501/head
François Kawala 5 years ago
parent
commit
b8be4f11a4
  1. 4
      pos_barcode_tare/static/src/js/pos_barcode_tare.js

4
pos_barcode_tare/static/src/js/pos_barcode_tare.js

@ -1,4 +1,5 @@
odoo.define('pos_barcode_tare.screens', function (require) {
"use strict";
var chrome = require('point_of_sale.chrome');
var core = require('web.core');
@ -7,6 +8,7 @@ odoo.define('pos_barcode_tare.screens', function (require) {
var models = require('point_of_sale.models');
var screens = require('point_of_sale.screens');
var QWeb = core.qweb;
var _t = core._t;
// This configures read action for tare barcode. A tare barcode contains a
// fake product ID and the weight to be subtracted from the product in the
@ -53,7 +55,7 @@ odoo.define('pos_barcode_tare.screens', function (require) {
button_click: function () {
var self = this;
this.gui.show_screen('tare');
self.gui.show_screen('tare');
},
});

Loading…
Cancel
Save