Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2242 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 24
4791
1
lokak. 23
10395
1
lokak. 23
98
1
elok. 23
2193
1
heinäk. 23
990