I agree.

On Tue, Sep 18, 2018, 08:39 Cédric Krier <bugs@tryton.org> wrote:

New submission from Cédric Krier <cedric.krier@b2ck.com>:

This method is often called and the result should be pretty stable (as period does not change often). The only drawback is the date parameter but I think it does not change too often as it should most of the time be today. And it will still be effective if the cache size is big enough.

component: account
keyword: easy
messages: 43934
nosy: ced
priority: feature
status: unread
title: Add cache to Period.find
type: performance

Tryton issue tracker <bugs@tryton.org>