Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: bar code scanner simulator

by
NUMIGI Solutions Inc., Jordi Riera
- 25/03/2020 19:29:12
As I am on MacOS, I go the dirty road and use the javascript.
For lazy boys like me, here is the code to copy paste in the console
```
var core = '';
odoo.define('coreservice', function(require){core=require('web.core');})
core.bus.trigger('barcode_scanned', '1234')
```
Kudo Devendra :)

Take care
Jordi

--
Jordi Riera - VP Technique
NUMIGI SOLUTIONS INC.
(514) 317-7944

Longueuil, Québec, Canada

linkedinyoutubecustom-icontwitter

Reference