تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3725 أدوات العرض

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..
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 20
9061
7
أبريل 23
28620
0
أكتوبر 21
2222
1
يناير 24
1936
1
يونيو 23
4506