Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

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..
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
sept. 20
8909
7
apr. 23
28331
0
oct. 21
2146
1
ian. 24
1821
1
iun. 23
4261