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
3445 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
3513
2
čvc 25
2634
3
čvc 25
472
1
čvc 25
133
1
čvn 25
1937