跳至内容
菜单
此问题已终结
1 回复
4782 查看

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

形象
丢弃
最佳答案

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 :)

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 ;)

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.

编写者

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

相关帖文 回复 查看 活动
1
9月 15
6005
2
10月 22
28042
0
8月 16
3134
3
11月 15
4719
0
11月 22
6139