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..