Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4023 Vizualizări

I have a model A and model B. A has a field X that is many2one of model B, and B has a field Y that is one2many to model A. When I try to update field X via XML-RPC (even though X is still null) the "another model requires the record being deleted." error yield.

Imagine profil
Abandonează

Hey could you share the code of how you did it ? I am trying the same thing using XML-RPC in python but I tint know what to enter on the many2one field.

Autor Cel mai bun răspuns

I was actually using odoo-await for Odoo client and was writting Many2one field using update() / create(). Fixed the error by using update() with action to One2many instead.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 23
2326
0
dec. 22
2952
0
iun. 21
2900
0
iun. 20
5413
1
nov. 19
2737