Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3501 Zobrazení

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šit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 19
3582
1
srp 25
383
2
čvc 25
2829
3
čvc 25
636
1
čvn 25
2102