Skip to Content
मेन्यू
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
Discard
Related Posts Replies Views Activity
2
सित॰ 20
8881
7
अप्रैल 23
28287
0
अक्तू॰ 21
2123
1
जन॰ 24
1791
1
जून 23
4210