-
-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] helpdesk_mgmt_templates: fix bugs on UI
Add new field for categories in ticket for domain in UI Remove the editable bottom for Categories Tree View and add Form view for categories to improve UX creating big templates.
- Loading branch information
1 parent
9392f29
commit d2a93f2
Showing
4 changed files
with
35 additions
and
4 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
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
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
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,19 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
<odoo> | ||
<record id="ticket_view_form" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.view.form</field> | ||
<field name="model">helpdesk.ticket</field> | ||
<field name="inherit_id" ref="helpdesk_mgmt.ticket_view_form" /> | ||
<field name="priority">99</field> | ||
<field name="arch" type="xml"> | ||
<field name="category_id" position="before"> | ||
<field name="helpdesk_ticket_category_ids" invisible="1" /> | ||
</field> | ||
<field name="category_id" position="attributes"> | ||
<attribute | ||
name="domain" | ||
>[('id', 'in', helpdesk_ticket_category_ids)]</attribute> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |