No Selection field key but value get.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
2
Cevaplar
422
Görünümler
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
Ok, Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol