Working with the external odoo API, when using the admin user for several instances of a script, it shows by console the following error "(\ 'Error, a partner can not follow twice the same object. \', None) \ n '> " With only one, but with several if. How could I solve this problem? Thank you
Cette question a été signalée
1
Répondre
8114
Vues
Hi Edger,
this is sql constraint from mail.followers for unique(res_model,res_id,partner_id) OR unique(res_model,res_id,channel_id)
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
3
janv. 23
|
11263 | ||
|
|
1
mars 22
|
7755 | ||
|
|
1
juil. 20
|
11643 | ||
|
|
1
janv. 24
|
7572 | ||
|
|
0
sept. 23
|
27 |