Skip to content

[17.0][MIG] barcode_scanner: Migration to 17.0 - #35

Open
antoniodavid wants to merge 17 commits into
OCA:17.0from
BinhexTeam:17.0-mig-barcode_scanner
Open

antoniodavid wants to merge 17 commits into
OCA:17.0from
BinhexTeam:17.0-mig-barcode_scanner

Conversation

@antoniodavid

@antoniodavid antoniodavid commented Nov 30, 2026 •

Copy link
Copy Markdown

@BinhexTeam T26858

szalatyzuzanna and others added 16 commits November 30, 2026 10:36
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/
BarcodeScannerFeedbackService forwarded the feedback level directly as the notification type. Odoo expects "danger" for error notifications, so "error" was not rendered as a danger notification.

Map feedback levels to valid Odoo notification types and add a regression test covering all levels.
@antoniodavid
antoniodavid force-pushed the 17.0-mig-barcode_scanner branch 2 times, most recently from 9346add to 42222d2 Compare November 30, 2026 15:41
@antoniodavid
antoniodavid force-pushed the 17.0-mig-barcode_scanner branch from 42222d2 to ece50db Compare November 30, 2026 15:44
@antoniodavid antoniodavid changed the title [17.0][MIG] barcode_scanner [17.0][MIG] barcode_scanner: Migration to 17.0 Nov 30, 2026

@edescalona edescalona left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution.

A few important points to address:

  • Regarding the migration commit: it seems you have everything included in the pre-commit.

  • Could you perhaps squash the administrative commits?

  • The es.po file has been replaced by an older version that is missing some strings currently in use; additionally, it.po, es_VE.po, and fr.po have been deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants