Skip to content

[19.0][MIG] website_sale_stock_list_preview - #1265

Merged
OCA-git-bot merged 19 commits into
OCA:19.0from
ForgeFlow:19.0-mig-website_sale_stock_list_preview
Aug 10, 2026
Merged

[19.0][MIG] website_sale_stock_list_preview#1265
OCA-git-bot merged 19 commits into
OCA:19.0from
ForgeFlow:19.0-mig-website_sale_stock_list_preview

Conversation

@JasminSForgeFlow

Copy link
Copy Markdown
Contributor

Standard Migration

@ForgeFlow

CarlosRoca13 and others added 18 commits July 8, 2026 07:40
…ite_sale_stock_available

When website_sale_stock_available is installed, the grid view is showing
different allowed quantities than when we access to the products sheet.

With this changes we add compatibility with this module and if
stock_available_immediately is installed we will get same value.

TT38689
As the value of available_threshold was set by default if some
module decrease this default, the test will fail, because the
text rendered will be "In stock" instead of "5.000 Units available".
Since the changes introduced in odoo/odoo@a8c73eb
we need to pass to the template of the remaining units to the function formatQuantity. So we
need to pass the function.

The steps to reproduce the error:
1. Edit some product, example Customizable Desk
2. Select the option Show Available Qty and set it to 999999
3. Go to /shop

You will see the error
Currently translated at 100.0% (0 of 0 strings)

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

Translation: e-commerce-18.0/e-commerce-18.0-website_sale_stock_list_preview
Translate-URL: https://translation.odoo-community.org/projects/e-commerce-18-0/e-commerce-18-0-website_sale_stock_list_preview/sl/
@OCA-git-bot OCA-git-bot added series:19.0 mod:website_sale_stock_list_preview Module website_sale_stock_list_preview labels Jul 9, 2026
@JasminSForgeFlow
JasminSForgeFlow force-pushed the 19.0-mig-website_sale_stock_list_preview branch from 75d5259 to 2fa2299 Compare July 9, 2026 06:35

@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_stock_list_preview

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 28, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Jul 28, 2026
29 tasks
@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). 🤖

@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!

@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 19.0-ocabot-merge-pr-1265-by-pedrobaeza-bump-nobump, awaiting test results.

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

Copy link
Copy Markdown
Contributor

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

@MiquelRForgeFlow
MiquelRForgeFlow deleted the 19.0-mig-website_sale_stock_list_preview branch August 10, 2026 08:13
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.