Odoo List View Sort Order Odoo One2many

Odoo Sorting List View

Probuse Admin

Code:


<xpath expr="//field[@name='timesheet_ids']/tree" position="attributes">
     <attribute name="default_order">date</attribute> 
</xpath>