Regression: Huge performance decrease with fields.related with store=True/{}(v5 and v6)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D | ||
5.0 |
Fix Released
|
Medium
|
Jay Vora (Serpent Consulting Services) |
Bug Description
Hi!
A regression created in <email address hidden>
for v5: http://
for v6: http://
If a fields.related with store=True is searched, it doesn't use the stored value but calculates the values like it was not stored at all.
Because of this, for example with a fields.related location_id on stock.picking a search for one location could result in sql queries having 30000 ids instead of a simple stock_picking.
There's a stock_location_
summary: |
- Regression: Huge perfomance decrease with fields.related (5.0) + Regression: Huge perfomance decrease with fields.related (v5 and v6) |
summary: |
- Regression: Huge perfomance decrease with fields.related (v5 and v6) + Regression: Huge performance decrease with fields.related (v5 and v6) |
description: | updated |
description: | updated |
We Let the Framework team decide.
Thanks.