In qweb report(v9). i want to get all records and display it in one page. But I only know how to get the current record of the docs
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Just have a look at account_general_journal.py file and its template
you'll get how you can use parser for reporting
Thanks fasluca. Big help
You need to create a parser file for this:
check this links:
In parser : you can write function to get all the records and return it to report template..
https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-inherit-standard-report-parser-class-in-qweb-reports-67126
https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-define-a-custom-methods-functions-to-be-used-in-a-qweb-report-how-to-define-and-use-a-report-parser-92244
https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-register-a-parser-for-a-qweb-report-91416
http://stackoverflow.com/questions/30389197/add-a-custom-parser-for-qweb-report
Thanks Ameera. Great help
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký