Skip to Content
Menu
This question has been flagged
1 Atsakyti
3713 Rodiniai

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 : /

Portretas
Atmesti
Autorius Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 19
3768
1
rugp. 25
766
1
rugp. 25
936
2
liep. 25
3588
3
liep. 25
1106