Tryton - Issues



Title Improve common XML search
Priority feature Status unread
Superseder Nosy List ced, pokoli
Type performance Components trytond
Assigned To Keywords

Created on 2018-03-07.10:55:07 by ced, last changed by pokoli.

msg38848 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-03-07.10:55:07
It is very common to use the search attribute for searching a ir.model record, ex: search="[('model', '=', '')]"
The bottleneck is that this generate a query each time when the result will most of the time not change if there is a result because XML can not delete records.

So I think we could have a cache per file parsed which store the result of the search.
Date User Action Args
2018-04-13 16:24:17pokolisetnosy: + pokoli
2018-03-07 10:55:07cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)