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?
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/21/15, 10:08 AM|
|Seen: 316 times|
|Last updated: 10/21/15, 10:08 AM|