Přejít na obsah
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 20
8887
7
dub 23
28295
0
říj 21
2129
1
led 24
1794
1
čvn 23
4223