Repository navigation
Conversation
Currently translated at 100.0% (14 of 14 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_scanner Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_scanner/it/
Currently translated at 100.0% (14 of 14 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_scanner Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_scanner/es/
Currently translated at 100.0% (14 of 14 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_scanner Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_scanner/es_VE/
The barcode service now keeps a reactive count of the mounted components that read scans through useBarcode, so a scan source such as a camera button can offer itself only while the screen on display reads one, without knowing the screens of every feature module.
Currently translated at 14.2% (2 of 14 strings) Translation: barcode-interface-18.0/barcode-interface-18.0-barcode_scanner Translate-URL: https://translation.odoo-community.org/projects/barcode-interface-18-0/barcode-interface-18-0-barcode_scanner/fr/
Odoo 20 ships Owl 3, so the client code is adapted with the owl3-migration and material-symbols upgrade_code scripts plus manual fixes: - proxy instead of useState/reactive, this. in templates, t-out - useEnv from @web/owl2/utils, NotificationPlugin in the dispatcher - barcodeApi.readGroup is replaced by formattedReadGroup, as orm.readGroup no longer exists (aggregates such as quantity:sum) - menu tile icons are Material Symbols names rendered with the oi class, as FontAwesome is no longer loaded - an "error" feedback signal is notified as "danger", the only error type the notification plugin accepts - the home screen greeting falls back to the browser hour when the user time zone is unknown to the browser Services keep their registry names so feature modules keep working. The JS tests are ported to Owl 3, a flow test of the scanner app is added, and the HOOT filter only selects this module's suites. Assisted-by: Claude Opus 5.5 + Codex Sol 6.1
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's change:
useState/reactivetoproxy,this.in templates,t-esctot-out<i class="oi" data-icon="..."/>)barcodeApi.readGroupis replaced byformattedReadGroup, becauseorm.readGroupwas removed in 20.0. Results now use keys like
quantity:sum.