Skip to content

Commit 5f45ee7

Browse files
committed
[16.0][IMP] hr_timesheet_editable_top: Order by date DESC
1 parent 49cb41e commit 5f45ee7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

hr_timesheet_editable_top/views/hr_analytic_timesheet.xml

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
<field name="arch" type="xml">
88
<xpath expr="//tree" position="attributes">
99
<attribute name="editable">top</attribute>
10+
<attribute name="default_order">date desc</attribute>
11+
</xpath>
12+
</field>
13+
</record>
14+
15+
<record id="view_task_form2_inherited" model="ir.ui.view">
16+
<field name="model">project.task</field>
17+
<field name="inherit_id" ref="hr_timesheet.view_task_form2_inherited" />
18+
<field name="arch" type="xml">
19+
<xpath expr="//field[@name='timesheet_ids']//tree" position="attributes">
20+
<attribute name="editable">top</attribute>
21+
<attribute name="default_order">date desc</attribute>
1022
</xpath>
1123
</field>
1224
</record>

0 commit comments

Comments
 (0)