Tryton - Issues



Title Do not allow to search or sort on ModelView only
Priority bug Status testing
Superseder Nosy List ced, reviewbot
Type crash Components trytond
Assigned To ced Keywords review
Reviews 56491002
View: 56491002

Created on 2018-11-22.17:50:35 by ced, last changed by reviewbot.

review56491002 updated at
msg44981 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-11-22.17:50:34
For ModelView only, the attribute of the fields sortable and searchable can be set to True. So if such model is display on a tree view, the client can emit a search request which will crash as it is not a ModelStorage.
So for me, we should disable those attributes if the Model does not have a search method.
Date User Action Args
2018-11-22 18:06:27reviewbotsetnosy: + reviewbot
messages: + msg44982
2018-11-22 17:51:45cedsetstatus: in-progress -> testing
reviews: 56491002
keyword: + review
2018-11-22 17:50:35cedcreate

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