← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

This has been fixed in the mean time, so everything should work if you update to the latest trunk (after rev. 2940)
I think you were unlucky and pulled the server code right between revision 2938 and 2940.

Thanks for the report!!

** Changed in: openobject-server
   Importance: Undecided => Medium

** Changed in: openobject-server
       Status: New => Fix Released

-- 
[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