Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
415 Visualizzazioni

No Selection field key but value get.

Avatar
Abbandona
Risposta migliore

Hi,

You can use the code below to get the value of a selection field:


dict(self._fields['field_name'].selection).get(self.field_name)

Regards

Avatar
Abbandona
Autore Risposta migliore

Ok, Thanks

Avatar
Abbandona