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

When I try to create a sub-task I receive the following error:


Error while validating constraint

Expected singleton: project.task(3473, 3463)


I use Odoo 11 Community Edition. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,
I believe version 11, doesn't provide sub task option by default(correct me if am wrong), so most probably the error will be coming from the custom codes.

So you have to check your log and update the code such a way that. code can handle multiple records.

See:  Singleton Error In Odoo

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi

Maybe it comes in your customized code, the project task has different records in the same project that's why it happened.

you can refer to the blog: https://www.cybrosys.com/blog/how-to-handle-singleton-error-in-odoo-15 it will help to reduce the single-ton issue


Hope it helps



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 24
5130
1
thg 10 23
10835
1
thg 10 23
98
1
thg 8 23
2193
1
thg 7 23
990