Skip to Content
Menu
This question has been flagged
1 Odpoveď
3715 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
3774
1
aug 25
780
1
aug 25
947
2
júl 25
3597
3
júl 25
1107