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
9058
7
apr 23
28618
0
ott 21
2221
1
gen 24
1936
1
giu 23
4506