← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666439] [NEW] [trunk] __last_update missing in context

 

Public bug reported:

The function "_check_concurrency" of the orm module crashes when
__last_update is missing in the context.


/server/bin/osv/orm.py

Line 3199:

-        if not (context.get(self.CONCURRENCY_CHECK_FIELD) or self._log_access):
+        if not context.get(self.CONCURRENCY_CHECK_FIELD) or not self._log_access:
            return

** Affects: openobject-server
     Importance: Undecided
         Status: New


** Tags: orm

** Tags added: orm

-- 
[trunk] __last_update missing in context
https://bugs.launchpad.net/bugs/666439
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: New

Bug description:
The function "_check_concurrency" of the orm module crashes when __last_update is missing in the context.


/server/bin/osv/orm.py

Line 3199:

-        if not (context.get(self.CONCURRENCY_CHECK_FIELD) or self._log_access):
+        if not context.get(self.CONCURRENCY_CHECK_FIELD) or not self._log_access:
            return





Follow ups

References