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

Hi,

We started using the shop floor module on V17 entreprise on-prem with some quality checks. 

We're hitting an error message when some quality checks are passing.

psycopg2.errors.UniqueViolation: duplicate key value violates unique 
constraint "mail_followers_mail_followers_res_partner_res_model_id_uniq"
DETAIL: Key (res_model, res_id, partner_id)=(quality.check, 4705, 1736) already exists.

It would seem that Odoo is trying to add the current user as a follower to the quality check and fails since the user is already a follower of the same quality check.

It seems to happen sporadically.

Any idea what could be the cause and how to fix it?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
toukok. 24
1830
0
toukok. 24
803
0
elok. 25
349
1
heinäk. 25
426
4
toukok. 25
2828