Skip to Content
Menu
This question has been flagged
1 Odpoveď
3393 Zobrazenia

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
Zrušiť
Autor Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 19
3477
0
júl 25
183
1
jún 25
1867
1
júl 25
852
1
apr 25
1523