Odoo Help


Quotation reporting - Sort by Category and subcategory

Jerome Guerriat
on 10/21/15, 10:08 AM 669 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!

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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