-
-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[14.0][ADD] helpdesk_mgmt_timesheet: add optional ticket field in view
- Loading branch information
1 parent
877e6ae
commit 114a22d
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
helpdesk_mgmt_timesheet/views/helpdesk_project_task_view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<data> | ||
<record id="view_task_form2_inherited" model="ir.ui.view"> | ||
<field name="name">project.task.form.ticket.inherited</field> | ||
<field name="model">project.task</field> | ||
<field name="inherit_id" ref="hr_timesheet.view_task_form2_inherited" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//tree/field[@name='name']" position="after"> | ||
<field | ||
name="ticket_id" | ||
optional="hide" | ||
groups="helpdesk_mgmt.group_helpdesk_user" | ||
/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</data> |