Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3488 Visualizzazioni

How do you fill a selection field with API? Tried using 

server.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {
 'company_type': 'company'
 }])

Also tried 'Company', 1 (as it's the 2nd member of the selection)

Got no ideas left : /

Avatar
Abbandona
Autore Risposta migliore

Company type will change to "Company" when field is_company==True

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 19
3578
1
ago 25
370
2
lug 25
2818
3
lug 25
632
1
giu 25
2092