跳至內容
選單
此問題已被標幟
2 回覆
2453 瀏覽次數

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. 

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 24
4970
1
10月 23
10644
1
10月 23
98
1
8月 23
2193
1
7月 23
990