Skip to Content
Menu
This question has been flagged
1 Odpoveď
10070 Zobrazenia

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
Zrušiť
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
Zrušiť
Autor

Thank you

Related Posts Replies Zobrazenia Aktivita
2
jún 24
1767
1
dec 23
1495
1
apr 23
1615
1
mar 23
2479
0
dec 22
2042