I have a selection field and I want to print the selected value but I got the key.
Python code:
'transport': fields.selection([('plain','Plain'),
('train','Train'),
('taxi','Taxi'),
('bus','Bus'),
('sv','Service vehicle')],'Means of transport'),
RML:
[[ o.transport or '']]
When I select Plain
the printed value is plain
.
How to get Plain
in the printed report instead of plain
?