Sort by date ASC in qweb report odoo

Viewed 5450

I want sort data in my qweb report by date asc.

My example:

<t t-foreach="doc.line_ids" t-as="o"> 
   <tr>
       <td class="text-right">
           <span t-field="o.date"/>
        </td> 
   </tr>
</t>
2 Answers
Related