Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] website_sale: avoid accesory products render #1233

Draft
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

Pablocce
Copy link

@Pablocce Pablocce commented May 31, 2024

In large orders, loading accessory products takes a long time, this is an improvement to avoid unnecesary loads.

When the user hover over the cart icon, the "cart" method is called, which performs loading and rendering of elements and other checks.

There is no reason to render the accessory products if the post is "popover" and that view is rendered, since it only involves the order lines.

image

With this PR, we seek to optimize the order navigation and the checkout since in orders with large products there may be many accessory products.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@pedrobaeza
Copy link
Member

This should be done against odoo/odoo, not OCA/OCB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants