Skip to content

[IMP] website_sale: avoid accesory products render#1233

Draft
Pablocce wants to merge 1 commit intoOCA:16.0from
factorlibre:16.0-imp-website_sale-popover
Draft

[IMP] website_sale: avoid accesory products render#1233
Pablocce wants to merge 1 commit intoOCA:16.0from
factorlibre:16.0-imp-website_sale-popover

Conversation

@Pablocce
Copy link
Copy Markdown

@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
Copy Markdown
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