Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
sep. 20
8941
7
apr. 23
28396
0
okt. 21
2156
1
jan. 24
1869
1
jun. 23
4319