Odoo Help


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.


Quotation reporting - Sort by Category and subcategory

Jerome Guerriat
on 10/21/15, 10:08 AM 291 views

Hi everyone!

Im having a hard time trying to make my own report using odoo.

My report must contains multiple sale_order_lines. I have overrided that model, and it now contains a Category field, and a Subcategory field

In my report, i would like to order the order_lines bases on those fields (and, if it is possible, printing a title for the (sub)category that appears in my order, on top of the related lines.

But i just don't understand how qweb works. I inherited from sale.report_saleorder_document and i already have a "nice" report, with the total amount, etc.... But now i need to order those lines!

Do you know how i could do this?

Thank you!

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)


Asked: 10/21/15, 10:08 AM
Seen: 291 times
Last updated: 10/21/15, 10:08 AM