Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
2
sept. 20
8901
7
avr. 23
28322
0
oct. 21
2136
1
janv. 24
1815
1
juin 23
4248