Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3437 มุมมอง

In wizard there are two fields one is starting date and one is ending date. I want to fetch data from model student.record where birthdate is between these two dates. I got data now i want to pass these values in template. In function i wrote --> data = {'docs': data_list,}      return self.env.ref('school.action_report_student').report_action(self,data=data) data is dictionary . in xml  i wrote <t t-foreach="docs" t-as="doc"> <tr> <td> <t t-esc="doc['Name']" /> </td>  </tr> .  


อวตาร
ละทิ้ง

Hope these tips will helps: https://learnopenerp.tumblr.com/

คำตอบที่ดีที่สุด

Hello Jay,

please refer below link:

https://medium.com/@hendrasj/how-to-create-custom-report-on-odoo-11-dd44309eab4d

https://www.youtube.com/watch?v=NXWmBWgGVh8&vl=en

Regards,




Email:   odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 24
794
1
ม.ค. 23
2514
0
ต.ค. 24
781
0
ม.ค. 22
9