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> .
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
2
Odpovědi
3422
Zobrazení
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
0
dub 24
|
789 | ||
|
1
led 23
|
2501 | ||
|
0
říj 24
|
772 | ||
|
0
led 22
|
9 |
Hope these tips will helps: https://learnopenerp.tumblr.com/