跳至內容
選單
此問題已被標幟
1 回覆
3510 瀏覽次數

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
3588
1
8月 25
419
2
7月 25
2845
3
7月 25
649
1
6月 25
2118