diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 21de948bc9b..174d4477cae 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1523,6 +1523,10 @@ class orm(object): fields = self.fields_get(cr, uid) for f in fields: ftype = fields[f]['type'] + + if self._log_access and f in ('create_date', 'create_uid', 'write_date', 'write_uid'): + del data[f] + if f in default: data[f] = default[f] elif ftype == 'function':