fix bug introduced in r2938
bzr revid: fp@tinyerp.com-20101023125131-b7vx7tz5wck6jqn5
This commit is contained in:
parent
fb90b121ea
commit
dee82b3ce7
|
@ -3211,7 +3211,7 @@ class orm(orm_template):
|
|||
def _check_concurrency(self, cr, ids, context):
|
||||
if not context:
|
||||
return
|
||||
if not (context.get(self.CONCURRENCY_CHECK_FIELD) or self._log_access):
|
||||
if not (context.get(self.CONCURRENCY_CHECK_FIELD) and self._log_access):
|
||||
return
|
||||
def key(oid):
|
||||
return "%s,%s" % (self._name, oid)
|
||||
|
|
Loading…
Reference in New Issue