Commit dee28cff by Damien Moulard

dont allow product scan if not on products screen (bis)

parent 704d1e6a
...@@ -220,5 +220,10 @@ odoo.define("lacagette_custom_pos.screens", function (require) { ...@@ -220,5 +220,10 @@ odoo.define("lacagette_custom_pos.screens", function (require) {
} }
} }
}, },
barcode_product_action: function(code){
if (this.gui.get_current_screen() === "products") {
this._super(code);
}
},
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment