changeset 02fb78edcc1e in proteus:5.0 details: https://hg.tryton.org/proteus?cmd=changeset;node=02fb78edcc1e description: Always read _timestamp
This ensures to always have the value from the last read. issue8792 review268331002 (grafted from ebacaf3b0452a3b9df9a2bdce01638f0720bab09) diffstat: proteus/__init__.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (13 lines): diff -r 682bd19a2a1d -r 02fb78edcc1e proteus/__init__.py --- a/proteus/__init__.py Fri Nov 08 19:29:15 2019 +0100 +++ b/proteus/__init__.py Sat Nov 16 12:46:43 2019 +0100 @@ -929,8 +929,7 @@ if loading == 'eager': fields = [x for x, y in self._fields.items() if y['loading'] == 'eager'] - if not self._fields: - fields.append('_timestamp') + fields.append('_timestamp') self._values.update( self._proxy.read([self.id], fields, self._context)[0]) for field in fields: