Tryton - Issues

 

Message44714

Author ced
Recipients
Date 2018-11-01.18:47:54
Content
I just found that the same code is duplicated in ModelStorage and ModelSQL, it fills the fields_names when not set. This makes me re-think about this behavior. Indeed it should be considered as a bad practice and performance killer to read all the fields like that. clients nor proteus do such think.
So I propose to remove this behavior and force user to always list the fields read.
History
Date User Action Args
2018-11-01 18:47:54cedsetmessageid: <1541094474.69.0.613868416801.issue7830@tryton.org>
2018-11-01 18:47:54cedlinkissue7830 messages
2018-11-01 18:47:54cedcreate

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