Skip to content
Snippets Groups Projects
Commit 525ed112 authored by Mahendra Barad's avatar Mahendra Barad Committed by Thibault Delavallée
Browse files

[FIX] digest: force recompute of all kpis each time-based run


Before this commit, the computation of kpi for last week, last 30 days and
previous period comparison was wrong due to cache. Indeed as first value
was in cache, other values were taken directly from cache itself instead
of recomputing each value based on start_date and end_date of the computation
timeframe.

As digest fields are computed fields used a bit off-side, let us manually
invalidate the cache before computing a kpi so that it correctly computes
the timeframe values.

Task ID 1883428

closes odoo/odoo#40861

Closes: #40834
X-original-commit: 2966ee59
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 74111d1f
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