Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3493 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 19
3580
1
sie 25
375
2
lip 25
2820
3
lip 25
633
1
cze 25
2095