diff options
| author | David Beguin <dbe@odoo.com> | 2018-09-20 11:08:03 +0200 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2018-09-21 13:59:05 +0200 |
| commit | bbc7e9586d440c4bddfb5c14f26f90246b88b4d4 (patch) | |
| tree | e363b89b828c29494348b1deb02bf3ec314a7f56 /addons/base_setup | |
| parent | 0df593f2fea9e4ea44d22909ae52ce669020617d (diff) | |
[FIX] hr_attendance : fix kiosk mode - js review
The main goal here is to avoid using a global variable.
The greeting message _onBarcodeScanned bus can be stoped right after
the barcode_scanned as every time a barcode is scanned, it creates
a new instance of the greeting message.
Some other JS guidelines are also applied here.
Special thanks to Martin Geubelle (@mge-odoo) for helping me on this.
[TEST] hr_attendance : add test for multiple quick scan in kiosk mode
Glorious thanks to @RomainLibert who fu**s off his brain to help me
understand what was really going on and how to simulate the
functional behaviour of Greeting Message kiosk stuff.
Task ID 1878251
Closes PR #27127
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions
