forked from OCA/helpdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix tickets and naming conventions (OCA#46) * Save sequence number in in 'number' field instead of in helpdesk_sequence. * Also fixed tests and added a small test to check if a number is added in a ticket when we create one. * Add many views and fix others (OCA#49)
- Loading branch information
1 parent
e750fcd
commit 635833d
Showing
10 changed files
with
271 additions
and
85 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="view_helpdesk_ticket_category_search" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.category.search</field> | ||
<field name="model">helpdesk.ticket.category</field> | ||
<field name="arch" type="xml"> | ||
<search string="Helpdesk Category Search"> | ||
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/> | ||
<separator/> | ||
<field name="name" filter_domain="[('name', 'ilike', self)]"/> | ||
</search> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_category_form" model="ir.ui.view"> | ||
<field name="name">view.helpdesk_category.form</field> | ||
<field name="model">helpdesk.ticket.category</field> | ||
<field name="arch" type="xml"> | ||
<form string="Stages"> | ||
<header> | ||
</header> | ||
<sheet> | ||
<div class="oe_button_box" name="button_box"> | ||
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-check"> | ||
<field name="active" widget="boolean_button" options='{"terminology": "active"}'/> | ||
</button> | ||
</div> | ||
<div class="oe_title"> | ||
<label for="name" class="oe_edit_only"/> | ||
<h1><field name="name" required="1"/></h1> | ||
</div> | ||
<group name="main"> | ||
<field name="company_id" groups="base.group_multi_company"/> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_category_tree" model="ir.ui.view"> | ||
<field name="name">view.helpdesk_category.tree</field> | ||
<field name="model">helpdesk.ticket.category</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Team"> | ||
<field name="name"/> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
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,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="view_helpdesk_ticket_channel_search" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.channel.search</field> | ||
<field name="model">helpdesk.ticket.channel</field> | ||
<field name="arch" type="xml"> | ||
<search string="Helpdesk Category Search"> | ||
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/> | ||
<separator/> | ||
<field name="name" filter_domain="[('name', 'ilike', self)]"/> | ||
</search> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_channel_form" model="ir.ui.view"> | ||
<field name="name">view.helpdesk_channel.form</field> | ||
<field name="model">helpdesk.ticket.channel</field> | ||
<field name="arch" type="xml"> | ||
<form string="Stages"> | ||
<header> | ||
</header> | ||
<sheet> | ||
<div class="oe_button_box" name="button_box"> | ||
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-check"> | ||
<field name="active" widget="boolean_button" options='{"terminology": "active"}'/> | ||
</button> | ||
</div> | ||
<div class="oe_title"> | ||
<label for="name" class="oe_edit_only"/> | ||
<h1><field name="name" required="1"/></h1> | ||
</div> | ||
<group name="main"> | ||
<field name="company_id" groups="base.group_multi_company"/> | ||
</group> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_channel_tree" model="ir.ui.view"> | ||
<field name="name">view.helpdesk_channel.tree</field> | ||
<field name="model">helpdesk.ticket.channel</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Team"> | ||
<field name="name"/> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
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,60 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="view_helpdesk_ticket_stage_search" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.stage.search</field> | ||
<field name="model">helpdesk.ticket.stage</field> | ||
<field name="arch" type="xml"> | ||
<search string="Ticket Stage Search"> | ||
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/> | ||
<separator/> | ||
<field name="name" filter_domain="[('name', 'ilike', self)]"/> | ||
</search> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_ticket_stage_form" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.stage.form</field> | ||
<field name="model">helpdesk.ticket.stage</field> | ||
<field name="arch" type="xml"> | ||
<form string="Stages"> | ||
<header> | ||
</header> | ||
<sheet> | ||
<div class="oe_button_box" name="button_box"> | ||
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-check"> | ||
<field name="active" widget="boolean_button" options='{"terminology": "active"}'/> | ||
</button> | ||
</div> | ||
<div class="oe_title"> | ||
<label for="name" class="oe_edit_only"/> | ||
<h1><field name="name" required="1"/></h1> | ||
</div> | ||
<group name="main"> | ||
<group name="main_left"> | ||
<field name="sequence"/> | ||
<field name="mail_template_id"/> | ||
<field name="company_id" groups="base.group_multi_company"/> | ||
</group> | ||
<group name="main_right"> | ||
<field name="closed"/> | ||
<field name="unattended"/> | ||
</group> | ||
</group> | ||
<field name="description" widget="html"/> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
<record id="view_helpdesk_ticket_stage_tree" model="ir.ui.view"> | ||
<field name="name">helpdesk.ticket.stage.tree</field> | ||
<field name="model">helpdesk.ticket.stage</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Ticket Stages"> | ||
<field name="sequence" widget="handle"/> | ||
<field name="name"/> | ||
</tree> | ||
</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.