No Selection field key but value get.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
2
Besvarelser
410
Visninger
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!
Tilmeld dig