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
مارس 19
|
4038 | ||
|
|
1
أغسطس 25
|
1063 | ||
|
|
1
أغسطس 25
|
1349 | ||
|
|
2
يوليو 25
|
4186 | ||
|
|
3
يوليو 25
|
1415 |