Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
Optimize performance by utilizing the pre-calculated prices stored in the website_public_lst_price_usd field within the
_website_product_id_change method. This approach eliminates the need for unnecessary price recomputations, resulting in a significant speed improvement of approximately 90%.
Results
Before
_website_product_id_change method
After
Flamegraph
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Optimize performance by utilizing the pre-calculated prices stored in the website_public_lst_price_usd field within the _website_product_id_change method. This approach eliminates the need for unnecessary price recomputations, resulting in a significant speed improvement of approximately 90%.
Results
Before _website_product_id_change method
After
Flamegraph
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr