Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3390 Tampilan

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

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 19
3471
0
Jul 25
166
1
Jun 25
1859
1
Jul 25
849
1
Apr 25
1522