Tryton - Issues

 

Issue7359

Title Improve loading strategy
Priority feature Status testing
Superseder Nosy List ced, reviewbot
Type performance Components sao, tryton
Assigned To ced Keywords review
Reviews 46361002,47351002
View: 46361002, 47351002

Created on 2018-04-16.17:42:24 by ced, last changed by reviewbot.

Messages
review47351002 updated at https://codereview.tryton.org/47351002/#ps40001
review46361002 updated at https://codereview.tryton.org/46361002/#ps60001
review47351002 updated at https://codereview.tryton.org/47351002/#ps20001
review46361002 updated at https://codereview.tryton.org/46361002/#ps40001
review46361002 updated at https://codereview.tryton.org/46361002/#ps20001
review47351002 updated at https://codereview.tryton.org/47351002/#ps1
review46361002 updated at https://codereview.tryton.org/46361002/#ps1
msg40162 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-04-16.17:42:23
For now, the strategy is based on the loading keyword 'eager' or 'lazy'.
On list, it loads all eager fields and on form it loads all fields.
But if the screen has many views (especially form) which show different fields, the client will often load too many fields.
We could improve the behavior by tying the field to the views where it is displayed. So when selecting other fields to load we could limit the selection to other fields which share a view.
Also when a view load fields, it should try first the fields displayed the less (by chance it will be only display on the view) to reduce the number of field selected.
History
Date User Action Args
2018-05-08 14:13:31reviewbotsetmessages: + msg40570
2018-05-08 14:13:13reviewbotsetmessages: + msg40569
2018-04-30 15:58:46reviewbotsetmessages: + msg40476
2018-04-30 15:58:29reviewbotsetmessages: + msg40475
2018-04-16 18:24:55reviewbotsetmessages: + msg40166
2018-04-16 17:57:39reviewbotsetmessages: + msg40164
2018-04-16 17:57:23reviewbotsetnosy: + reviewbot
messages: + msg40163
2018-04-16 17:55:50cedsetstatus: in-progress -> testing
reviews: 46361002,47351002
keyword: + review
2018-04-16 17:42:24cedcreate

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