Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2280 Vizualizări

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. 

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 24
4820
1
oct. 23
10443
1
oct. 23
98
1
aug. 23
2193
1
iul. 23
990