-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
3 changed files
with
138 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters