Name:
[IMP] product_margin: improve Product Margins report performance by filtering products based on selected invoices in the wizard
State:
Killed
finished in 87m
PR State:
merged
PR Author:
Roy Le
PR Author Email:
PR:
#1092
Committer:
Roy Le
Committer Email:
roy.le@viindoo.com
Commit:
ae00e644ddafef53c64fe87e12f6ed407f1e6435
Description:
[IMP] product_margin: improve Product Margins report performance by
filtering products based on selected invoices in the wizard
The Product Margins report currently loads all products, which leads to
major performance issues or timeouts when working with large datasets
(e.g., over 200,000 products).
This PR modifies the logic to only load products that are referenced in
invoices within the selected date range and invoice state in the wizard.
Branch:
16.0
Instance ID:
0
Age:
Up-time: