PerformanceHighlight of Weekly #005

No more repeated stage searches in CRM

The first shared stage is searched once when computing lead probabilities. The helper keeps its signature for custom overrides.

Versions18.019.020.0
ModulesCRM crm
AppSales & CRM

Pull requests and commits

BranchPull requestCommit
18.0odoo/odoo#295574 ↗3cdbd1dbc6 ↗
19.0odoo/odoo#296050 ↗9f46576040 ↗
20.0odoo/odoo#296865 ↗7f64b64885 ↗

Commit message

[PERF] crm: avoid repeated stage searches

Search for the first shared stage once when computing lead probabilities and reuse it across teams through the context. Keep the helper signature unchanged for custom overrides.

My stack

Pick the versions and apps you run. Weekly digests, this week's table and All changes then show only what concerns you. Saved in this browser.

Versions
Apps
Modules