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 : /
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
1
3月 19
|
4148 | |||
|
1
8月 25
|
1290 | |||
|
1
8月 25
|
1672 | |||
|
2
7月 25
|
4565 | |||
|
3
7月 25
|
1742 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.