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
3607 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
3672
1
sie 25
511
1
sie 25
708
2
lip 25
3247
3
lip 25
871