Skip to content

Commit

Permalink
[14.0][IMP] custom_saca_timesheet: Saca order in analtic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berezi authored and anajuaristi committed Nov 13, 2024
1 parent e10e5b4 commit 013be73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions custom_saca_timesheet/views/account_analytic_line_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,26 @@
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree" />
<field name="arch" type="xml">
<tree position="attributes">
<attribute name="default_order">saca_id desc</attribute>
</tree>
<field name="task_id" position="after">
<field name="saca_id" optional="show" />
<field name="saca_line_id" optional="show" />
</field>
</field>
</record>

<record id="view_account_analytic_line_tree" model="ir.ui.view">
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="analytic.view_account_analytic_line_tree" />
<field name="arch" type="xml">
<tree position="attributes">
<attribute name="default_order">saca_id desc</attribute>
</tree>
</field>
</record>

<record id="hr_timesheet_line_search" model="ir.ui.view">
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_search" />
Expand Down

0 comments on commit 013be73

Please sign in to comment.