Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3480 Prikazi

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
Opusti
Avtor Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 19
3570
1
avg. 25
341
2
jul. 25
2791
3
jul. 25
604
1
jun. 25
2052