跳至内容
菜单
此问题已终结
1 回复
3492 查看

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

形象
丢弃
编写者 最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
3月 19
3579
1
8月 25
373
2
7月 25
2819
3
7月 25
632
1
6月 25
2094