i am using odoo v8
so i want to create custom report for invoice in odoo
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
You may check this link to have an understanding creating reports in v8:
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.
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
|Asked: 10/14/15, 3:29 AM|
|Seen: 452 times|
|Last updated: 10/14/15, 4:01 AM|