Skip to content

[19.0][MIG] website_sale_product_sort: Migration to 19.0 - #1263

Merged
OCA-git-bot merged 29 commits into
OCA:19.0from
ManfredNelvin-Dev:19.0-mig-website_sale_product_sort
Aug 10, 2026
Merged

[19.0][MIG] website_sale_product_sort: Migration to 19.0#1263
OCA-git-bot merged 29 commits into
OCA:19.0from
ManfredNelvin-Dev:19.0-mig-website_sale_product_sort

Conversation

@ManfredNelvin-Dev

Copy link
Copy Markdown

Migration of website_sale_product_sort to Odoo 19.0.

Changes

  • Migrated module to Odoo 19.0
  • Adapted controller to Odoo 19 API
  • Updated website templates
  • Added test coverage for controllers and models
  • Verified module installation and functionality

chienandalu and others added 29 commits July 8, 2026 11:15
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-12.0/e-commerce-12.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_product_sort/es/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-12.0/e-commerce-12.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_product_sort/fr/
Currently translated at 90.9% (10 of 11 strings)

Translation: e-commerce-12.0/e-commerce-12.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_product_sort/nl/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-12.0/e-commerce-12.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-12-0/e-commerce-12-0-website_sale_product_sort/ca/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-13.0/e-commerce-13.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_product_sort/ca/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-13.0/e-commerce-13.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_product_sort/es/
…hanged

Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-13.0/e-commerce-13.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_product_sort/nl/
… is_published

POST data can contain an empty order, so previous code took that one as
the valid, which is not correct. We need to check if there's a value,
not only if the key exist.

We use also `is_published` as the field for sorting, the same as
upstream v13.
Currently translated at 100.0% (12 of 12 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/it/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/ca/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/fr/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/nl/
Currently translated at 100.0% (12 of 12 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/it/
Currently translated at 100.0% (11 of 11 strings)

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_product_sort
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_product_sort/es/
@OCA-git-bot OCA-git-bot added the mod:website_sale_product_sort Module website_sale_product_sort label Jul 8, 2026

@ivantodorovich ivantodorovich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/ocabot migration website_sale_product_sort

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 21, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Jul 21, 2026
29 tasks

@BhaveshHeliconia BhaveshHeliconia 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.

LGTM!

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@ivantodorovich

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-1263-by-ivantodorovich-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit a240e58 into OCA:19.0 Aug 10, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.