I'm trying to show the report lines orderred by two values, maturity_date and amount, how can i achieve it.
<tr t-foreach="o.line_ids.sorted(key=lambda b: b.ml_maturity_date )" t-as="line">
to order by maturity_date,
how can i add amount so it gets ordered first by maturity_date and those result also for amount.
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: 5/24/16, 8:18 AM|
|Seen: 193 times|
|Last updated: 5/24/16, 9:48 AM|