fix bug introduced in r2938

bzr revid: fp@tinyerp.com-20101023125131-b7vx7tz5wck6jqn5
This commit is contained in:
Fabien Pinckaers 2010-10-23 14:51:31 +02:00
parent fb90b121ea
commit dee82b3ce7
1 changed files with 1 additions and 1 deletions

View File

@ -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)