Skip to content
Snippets Groups Projects
Commit e1767490 authored by Denis Vermylen's avatar Denis Vermylen
Browse files

[FIX] purchase: loading time on partners with many children

When loading a partner form view, the ORM prefetches the computed fields
purchase_order_count and supplier_invoice_count for all the related
partners as well (parent, children, ..).

Instead of reading the orders and invoices once per partner, we group
them all together.

opw 1919933

closes odoo/odoo#29788
parent 1b434ed8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment