İçereği Atla
Menü
Bu soru işaretlendi

For creating a dict, i used the following code:

<t t-set="count" t-value="dict()"/>

<t t-foreach="count_obj" t-as="ob">

<t t-set="count" t-esc="count.update({ob.id: ob.name})"/>

</t>


But i am getting  a none value.Why?
Can anyone help me?Thanks in advance..
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 20
8929
7
Nis 23
28360
0
Eki 21
2152
1
Oca 24
1848
1
Haz 23
4303