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
9053
7
avr. 23
28612
0
oct. 21
2214
1
janv. 24
1931
1
juin 23
4504