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 : /
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
3580 | ||
|
1
8月 25
|
377 | ||
|
2
7月 25
|
2823 | ||
|
3
7月 25
|
633 | ||
|
1
6月 25
|
2096 |