Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3539 Visninger

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
Kassér
Forfatter Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
mar. 19
3600
0
aug. 25
1
1
aug. 25
490
2
jul. 25
2933
3
jul. 25
691