Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


No concurrency check when updating records

siddharth jambukiya
on 9/23/13, 11:40 AM 1,283 views

Only one user at any time should be able to edit a contract. We need to pop up a dialog box with details of the user that has the record open if another user tries to edit the record.

This obvious feature doesn't appear to be native to OpenERP.

Is there a module that implements this across the whole system?

Only one user at any time should be able to edit a contract. We need to pop up a dialog box with details of the user that has the record open if another user tries to edit the record. The 2nd user should then be prevented from editing the record until it is unlocked (i.e. the 1st user either saves or discards the record).

Seems odd that record locking is not part of the default Openerp architecture - do you know why?

Can we take a look at how we can implement this and come back with some ideas. It's not a burning priority at the moment but will be as soon as one/two of the users "discover" this issue.

Did you report a bug on Github ? Can you post the link ? Thanks.

Maxime Chambreuil
on 5/7/15, 11:16 AM

I reported the bug: https://github.com/odoo/odoo/issues/6737

Maxime Chambreuil
on 5/15/15, 4:52 PM

Andreas Maertens

--Andreas Maertens--
| 5 5 7
Finsterwalde, Germany
--Andreas Maertens--

I develop odoo8.0 modules

Andreas Maertens
On 3/6/14, 6:21 AM

The BaseModel in orm implements a function for that problem "_check_concurrency" that is called within the write method. For a reason I don't know the "_last_update" entry is never added to the context therefor that method is useless. Anyone does know more about?


Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 9/24/13, 2:52 AM

Conflicts when two people edit the same record are presented/resolved when they save.

Try it!

i am agree with you Ray carnes but conflicts occurs when two user try to edit same record and same field at a time...

siddharth jambukiya
on 9/24/13, 3:27 AM

I try and to me this is not working fine. I created an order. I click edit on that sale order with user admin. Then I used another user "laflammm" on another PC to edit the same order. Then I changed the Comment field to "whatever" with user "admin" then I saved. I returned on that same order opened by "laflammm" on another computer and changed the same field to "whatever2" and saved. I got no error to let me know I just overwrote the previous save done by admin!

Mathieu Laflamme
on 11/8/13, 3:33 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 9/23/13, 11:40 AM
Seen: 1283 times
Last updated: 5/15/15, 4:52 PM