Skip to Content
Menu
This question has been flagged
1 Reply
3525 Views

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
Discard
Author Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 19
3596
1
Aug 25
480
2
Jul 25
2908
3
Jul 25
686
1
Jun 25
2168