summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-08-24 14:37:13 +0200
committerAaron Bohy <aab@odoo.com>2017-08-25 15:54:56 +0200
commitc73233d2489e3d074d4d13d1c782a97734e29e32 (patch)
tree80e05efac56b44067a77b4e757ba54c334a0464e /addons/web/static/src/js/views/basic/basic_controller.js
parentdec1bdb44d2ee2bf1874f0a5051bdd7720cbb4d7 (diff)
[FIX] barcodes: don't warn if action unavailable
Before this rev. a warning was displayed when a barcode mapping an invisible button was scanned. It shouldn't, for the following reason. In the stock.picking form view, two buttons with barcode_trigger='validate' are in the page ('Start Inventory' and 'Validate'), and there is always at least one of them that is invisible. So when scanning the 'validate' barcode, we don't want a warning to be displayed, as there is potentially another button that is able to handle the request.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions