Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
sep. 20
8957
7
apr. 23
28437
0
okt. 21
2167
1
jan. 24
1882
1
jun. 23
4359