Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

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

By
Giezel Esteves
on 11/3/16, 11:06 PM 131 views

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

2
fasluca
On 11/3/16, 11:48 PM

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

Giezel Esteves
on 11/4/16, 11:12 PM
4
Ameera PP
On 11/4/16, 2:40 AM

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

Giezel Esteves
on 11/4/16, 11:24 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/3/16, 11:06 PM
Seen: 131 times
Last updated: 11/4/16, 11:23 PM