Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4927 Lượt xem

We have noticed that, if 2 users try to modify the same record simultaneously, the system does not warn them.
Therefore, data from one of the two can be lost, without being noticed.

Is there any solution for that? 

Ảnh đại diện
Huỷ bỏ

If you can see it as bug, You can create issue in Github with Odoo version and how to reproduce the issue.

https://github.com/odoo/odoo/issues

Câu trả lời hay nhất

Since version 9.0 we have implemented concurrency checks, you can learn more by reviewing:

https://github.com/odoo/odoo/issues/6737

https://github.com/odoo/odoo/blob/15.0/odoo/models.py#L3434

Ảnh đại diện
Huỷ bỏ
Tác giả

Odoo allows different users to modify the same register, while preserving the changes made by every one. I think it's a very well-designed functionality. If more than one modifies the same field, the last modification done prevails. Someone could see it as a problem, but the same thing would happen if they did it with 5 minutes of difference.

However, consider this scenario:
- User 1 and user 2 open the same order. It has a single line.
- User 1 adds several lines and updates.
- User 2 emails the order (he only sees one line, but it actually has several of them. He realizes it when it's already sent.

I think Odoo should raise a warning in this cases.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 24
1276
1
thg 7 24
2126
1
thg 6 21
3282
0
thg 3 21
2060
0
thg 5 20
2467