Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
10072 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thank you

Post correlati Risposte Visualizzazioni Attività
2
giu 24
1767
1
dic 23
1495
1
apr 23
1615
1
mar 23
2479
0
dic 22
2042