← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666439] Re: [trunk] __last_update missing in context

 

** Changed in: openobject-server
    Milestone: None => 6.0-rc2

-- 
[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: Fix Released

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





References