Skip to Content
Menu
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..
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 20
8957
7
bal. 23
28440
0
spal. 21
2167
1
saus. 24
1884
1
birž. 23
4360