Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3515 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 19
3592
1
ส.ค. 25
446
2
ก.ค. 25
2875
API xmlrpc - upload pdf bills to account แก้ไขแล้ว
3
ก.ค. 25
666
1
มิ.ย. 25
2146