[18.0][MIG] pos_product_multi_barcode: Migration to version 18.0#1500
Merged
OCA-git-bot merged 16 commits intoOCA:18.0from Mar 19, 2026
Merged
[18.0][MIG] pos_product_multi_barcode: Migration to version 18.0#1500OCA-git-bot merged 16 commits intoOCA:18.0from
OCA-git-bot merged 16 commits intoOCA:18.0from
Conversation
…roducts by multiple barcodes in search bar of POS.
Currently translated at 100.0% (3 of 3 strings) Translation: pos-16.0/pos-16.0-pos_product_multi_barcode Translate-URL: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_product_multi_barcode/it/
If a `barcode` is already in `product_by_barcode`, do not override it, as Odoo does with `product_by_id`. This can lead to incoherent data if something changes after product is first loaded and then reloads (if limited loading is enabled), or it is modified in `product_by_id` and not in `product_by_barcode`.
[DON'T MERGE] test-requirements.txt
d125db2 to
4201f77
Compare
Member
|
/ocabot migration pos_product_multi_barcode |
pedrobaeza
requested changes
Mar 16, 2026
Member
pedrobaeza
left a comment
There was a problem hiding this comment.
I have tried with https://addons.mozilla.org/en-US/firefox/addon/barcode-scanner-emulator/ to scan this product with the second barcode:
and it's not working:
Can you please check?
4201f77 to
7a6f0dc
Compare
Contributor
Author
I guess now It's fixed, could you please review it again? |
christian-ramos-tecnativa
suggested changes
Mar 18, 2026
7a6f0dc to
e1ae6e8
Compare
christian-ramos-tecnativa
approved these changes
Mar 19, 2026
Member
|
/ocabot merge nobump |
Contributor
|
What a great day to merge this nice PR. Let's do it! |
Contributor
|
Congratulations, your PR was merged at b2f8e97. Thanks a lot for contributing to OCA. ❤️ |
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.


PosDBwas removed in Odoo 18 and the POS data loading API changed.pos_session.pyis removed._load_pos_data_fieldsis now overridden directly onproduct.product, replacing the removed_loader_params_product_productdb.esm.jsis updated to patchDataServiceOptionsandProductProductinstead of the removedPosDB. Additional barcodes are indexed for scanner lookup viasetup()and exposed to text search viasearchString, fixing the \n-based replacement that no longer works.@Tecnativa TT59146
@christian-ramos-tecnativa @pedrobaeza