[19.0][MIG] barcode_action#1290
Draft
bosd wants to merge 33 commits into
Draft
Conversation
Currently translated at 95.8% (23 of 24 strings) Translation: server-ux-14.0/server-ux-14.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-barcode_action/es/
Currently translated at 100.0% (24 of 24 strings) Translation: server-ux-14.0/server-ux-14.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-barcode_action/pt/
Currently translated at 100.0% (24 of 24 strings) Translation: server-ux-16.0/server-ux-16.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-barcode_action/es/
Currently translated at 100.0% (23 of 23 strings) Translation: server-ux-17.0/server-ux-17.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-barcode_action/it/
* Reject private (``_``-prefixed) method names on ``barcode.action``: the OWL widget invokes the configured method through ``orm.call`` with the current user's rights, so without this constraint anyone who can open a barcode wizard could trigger arbitrary internal methods (``unlink``, ``_compute_*``, ...) on any model they can read. * Catch errors raised by the configured method in the JS widget and surface them through the notification service instead of letting the rejection bubble up silently. * Replace the previously empty widget template with a scanner-style visual cue (animated red line over a stylised barcode) so users can tell at a glance that the wizard is actively listening for a scan. The animation honours ``prefers-reduced-motion``.
* Replace the legacy OCA cube ``static/description/icon.png`` with the new OCA logo shipped by ``maintainer-tools``. * Add an OWL systray entry mirroring the ``document_quick_access_launcher`` pattern: a barcode icon in the top bar that opens the ``barcode.action`` wizard pre-configured for the ``find_res_partner_by_ref_using_barcode`` example, so the module's barcode launcher is reachable from anywhere in the client.
bosd
force-pushed
the
19.0-mig-barcode_action
branch
from
May 14, 2026 20:52
c58c472 to
6b51ba3
Compare
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.
Standard migration using odoo-module-migrator /ocabot migration barcode_action .