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

how we design custom report in odoov8.0

By
kartik
on 10/14/15, 3:29 AM 452 views

hi,

i am using odoo v8

so i want to create custom report for invoice in odoo

like

structure of report should be

inv_no    customer_name    Due_date  inv_amount    Tax   grand total   payment     invoice_status

 

all invoice entry filtered by customer name so how cal i get that

or any documentation for qweb directives and report  in odoo

2

Akhil P Sivan

--Akhil P Sivan--
3423
| 5 3 6
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 10/14/15, 3:42 AM

Hi,

You may check this link to have an understanding creating reports in v8:

http://www.odoo.yenthevg.com/creating-custom-reports-odoo-8/ 

After understanding the qweb report, you should create a new report with the xml template file and a report parser python file. In the report you want to have invoice entries for filtered customers and only show those respective fields for each entries right? For that you need to write a function in the parser file, that returns a list of dictionaries containing the invoice data of selected invoice records in current list view.

You can then iterate in that list to print the fields data you mentioned. I can help you with the report creation.

I love the fact that you've linked my tutorial. +1 :)

Yenthe
on 10/14/15, 3:57 AM

Yes its a very good tutorial I found on net while looking about report creation. Keep up your good works Yenthe. +1000 for that too ;)

Akhil P Sivan
on 10/14/15, 4:03 AM

Thanks for the positive feedback Akhil! I try to create a new blog atleast once a month so keep an eye out for my blog ;) Trying to mix complex and easy subjects too.

Yenthe
on 10/14/15, 4:40 AM

can you please specify in detail that how we create report parser python file. and doc for that

kartik
on 10/14/15, 6:02 AM

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

2 follower(s)

Stats

Asked: 10/14/15, 3:29 AM
Seen: 452 times
Last updated: 10/14/15, 4:01 AM