Skip to Content
Menu
This question has been flagged
2124 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!

Avatar
Discard