Odoo Help


Show selection value in email template

Seppe De Roeck
on 8/22/16, 3:51 PM 873 views


I have an email template that displays some variable information, but I can't seem to show the value of a selection field.

The below code shows the selection KEY, but not the VALUE.  For example if x_order_type is a selection field with values [('R','Regular'),('D','Dropship')], I want to show "Regular" instead of "R".


<td width=15%>${opiline.x_opi_topic_id.x_name}</td>

<td width=10%>${opiline.x_responsible}</td>

<td width=10%>${opiline.x_order_type}</td>

<td width=65%>${opiline.x_instruction or ''}<br>(last update:${opiline.write_date})</td>


Ajeet Yadav
On 8/23/16, 6:42 AM

you can get your answer on below link-


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/22/16, 3:51 PM
Seen: 873 times
Last updated: 8/23/16, 6:42 AM