Skip to content

Commit 55c7b6a

Browse files
BereziBerezi
Berezi
authored andcommitted
[14.0][IMP] custom_saca_timesheet: Add filter in views.
1 parent 013be73 commit 55c7b6a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

custom_saca_timesheet/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"hr_timesheet_activity_begin_end",
1313
"custom_descarga",
1414
"hr_timesheet_begin_end_usability",
15+
"analytic",
1516
],
1617
"data": [
1718
"data/project.xml",

custom_saca_timesheet/views/account_analytic_line_view.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,22 @@
4848
</filter>
4949
</field>
5050
</record>
51+
52+
<record id="view_account_analytic_line_filter" model="ir.ui.view">
53+
<field name="model">account.analytic.line</field>
54+
<field name="inherit_id" ref="analytic.view_account_analytic_line_filter" />
55+
<field name="arch" type="xml">
56+
<field name="account_id" position="after">
57+
<field name="saca_id" optional="show" />
58+
</field>
59+
<filter name="account_id" position="after">
60+
<filter
61+
string="Saca"
62+
name="groupby_saca"
63+
domain="[]"
64+
context="{'group_by': 'saca_id'}"
65+
/>
66+
</filter>
67+
</field>
68+
</record>
5169
</odoo>

0 commit comments

Comments
 (0)