mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
5a3ea46b8bb97cc1b028de0b872d7985edef60e3
Cached methods should never return recordsets, which are tied to specific context, env, cursor, uid. Instead, they should return IDs which, later, can be browsed in the current context. With this change _usable_rules() cached method is now returing ids instead of a recordset, and also the _match_find method is properly browsing the results ids of the cached method.
Description
Languages
HTML
51.4%
Python
48.6%