Skip to content

[18.0][MIG] pos_product_multi_barcode: Migration to version 18.0#1500

Merged
OCA-git-bot merged 16 commits intoOCA:18.0from
Tecnativa:18.0-mig-pos_product_multi_barcode
Mar 19, 2026
Merged

[18.0][MIG] pos_product_multi_barcode: Migration to version 18.0#1500
OCA-git-bot merged 16 commits intoOCA:18.0from
Tecnativa:18.0-mig-pos_product_multi_barcode

Conversation

@cristina-hidalgo-tecnativa
Copy link
Copy Markdown
Contributor

  • PosDB was removed in Odoo 18 and the POS data loading API changed.
  • pos_session.py is removed. _load_pos_data_fields is now overridden directly on product.product, replacing the removed _loader_params_product_product
  • db.esm.js is updated to patch DataServiceOptions and ProductProduct instead of the removed PosDB. Additional barcodes are indexed for scanner lookup via setup() and exposed to text search via searchString, fixing the \n-based replacement that no longer works.

@Tecnativa TT59146
@christian-ramos-tecnativa @pedrobaeza

@cristina-hidalgo-tecnativa cristina-hidalgo-tecnativa force-pushed the 18.0-mig-pos_product_multi_barcode branch from d125db2 to 4201f77 Compare March 16, 2026 14:26
@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot migration pos_product_multi_barcode

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Mar 16, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 16, 2026
33 tasks
Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

I have tried with https://addons.mozilla.org/en-US/firefox/addon/barcode-scanner-emulator/ to scan this product with the second barcode:

Image

and it's not working:

Image

Can you please check?

@cristina-hidalgo-tecnativa cristina-hidalgo-tecnativa force-pushed the 18.0-mig-pos_product_multi_barcode branch from 4201f77 to 7a6f0dc Compare March 17, 2026 07:00
@cristina-hidalgo-tecnativa
Copy link
Copy Markdown
Contributor Author

I have tried with https://addons.mozilla.org/en-US/firefox/addon/barcode-scanner-emulator/ to scan this product with the second barcode:
Image

and it's not working:
Image

Can you please check?

I guess now It's fixed, could you please review it again?

Copy link
Copy Markdown
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

OK, now it's working.

@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-1500-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at b2f8e97. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot merged commit faf0235 into OCA:18.0 Mar 19, 2026
5 of 7 checks passed
@pedrobaeza pedrobaeza deleted the 18.0-mig-pos_product_multi_barcode branch March 19, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.