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
9170
7
bal. 23
28869
0
spal. 21
2286
1
saus. 24
2068
1
birž. 23
4701