Issue 10331

Title
Improve the performances of fields.Selection using computed selections when displayed in treeviews
Priority
feature
Status
in-progress
Nosy list
nicoe, reviewbot
Assigned to
nicoe
Keywords
review

Created on 2021-04-23.08:53:14 by nicoe, last changed 1 week ago by reviewbot.

Messages

Author: [hidden] (nicoe) Tryton committer
Date: 2021-04-23.08:53:14

When we display Selection fields in a treeview and they're using a method to compute the selection this method gets called as often as they're is different parameter for it.

We could improve performance a bit by using the same 'trick' we did for the M2O: directly returning the string value of the record.

History
Date User Action Args
2021-04-27 19:23:09reviewbotsetmessages: + msg67021
2021-04-23 09:22:53reviewbotsetmessages: + msg66853
nosy: + reviewbot
2021-04-23 08:55:20nicoesetkeyword: + review
reviews: 357911002
2021-04-23 08:53:14nicoecreate