Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2379 Visualizzazioni

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. 

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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



Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
4889
1
ott 23
10522
1
ott 23
98
1
ago 23
2193
1
lug 23
990