From dee82b3ce7615bd06233d70653f2074099046673 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 23 Oct 2010 14:51:31 +0200 Subject: [PATCH] fix bug introduced in r2938 bzr revid: fp@tinyerp.com-20101023125131-b7vx7tz5wck6jqn5 --- bin/osv/orm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index fab711b92ad..da267c942ea 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -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)