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?