Skip to Content
Menú
This question has been flagged
1 Respondre
10062 Vistes

I can display t-att-value="aaa"  this in input type text   
but in <select> </select>  i am unable to display

Please help here

Avatar
Descartar
Best Answer

I think you want to do as follow:

<select>
    <option value=""/>
    <option t-att-value="your_field_name">
        <t t-esc="your_field_name"/>
    </option>
</select>

You can take the reference from website_sale module.

Sudhir Arya
ERP Harbor Consulting Services
s:sudhir@erpharbor.com  w: http://www.erpharbor.com
Avatar
Descartar
Autor

Thank you

Related Posts Respostes Vistes Activitat
2
de juny 24
1765
1
de des. 23
1493
1
d’abr. 23
1615
1
de març 23
2476
0
de des. 22
2041