Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 20
8898
7
apr 23
28319
0
ott 21
2134
1
gen 24
1810
1
giu 23
4244