[IMP] crm_helpdesk : remove escalation feature
This commit is contained in:
@@ -16,7 +16,7 @@ This application enables a group of people to intelligently and efficiently mana
|
||||
|
||||
It manages key tasks such as communication, identification, prioritization, assignment, resolution and notification.
|
||||
|
||||
OpenERP ensures that all cases are successfully tracked by users, customers and suppliers. It can automatically send reminders, escalate the request, trigger specific methods and many other actions based on your own enterprise rules.
|
||||
OpenERP ensures that all cases are successfully tracked by users, customers and suppliers. It can automatically send reminders, trigger specific methods and many other actions based on your own enterprise rules.
|
||||
|
||||
The greatest thing about this system is that users don't need to do anything special. The CRM module has an email gateway for the synchronization interface between mails and OpenERP. That way, users can just send emails to the request tracker.
|
||||
|
||||
|
||||
@@ -86,20 +86,6 @@ class crm_helpdesk(osv.osv):
|
||||
values['date_closed'] = fields.datetime.now()
|
||||
return super(crm_helpdesk, self).write(cr, uid, ids, values, context=context)
|
||||
|
||||
def case_escalate(self, cr, uid, ids, context=None):
|
||||
""" Escalates case to parent level """
|
||||
data = {'active': True}
|
||||
for case in self.browse(cr, uid, ids, context=context):
|
||||
if case.team_id and case.team_id.parent_id:
|
||||
parent_id = case.team_id.parent_id
|
||||
data['team_id'] = parent_id.id
|
||||
if parent_id.change_responsible and parent_id.user_id:
|
||||
data['user_id'] = parent_id.user_id.id
|
||||
else:
|
||||
raise UserError(_('You can not escalate, you are already at the top level regarding your sales-team category.'))
|
||||
self.write(cr, uid, [case.id], data, context=context)
|
||||
return True
|
||||
|
||||
# -------------------------------------------------------
|
||||
# Mail gateway
|
||||
# -------------------------------------------------------
|
||||
@@ -131,8 +117,3 @@ class crm_helpdesk_category(osv.Model):
|
||||
'team_id': fields.many2one('crm.team', 'Sales Team'),
|
||||
}
|
||||
|
||||
class sales_team(osv.Model):
|
||||
_inherit = "crm.team"
|
||||
_columns = {
|
||||
'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."),
|
||||
}
|
||||
|
||||
@@ -51,8 +51,6 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Helpdesk Support">
|
||||
<header>
|
||||
<button name="case_escalate" string="Escalate" type="object"
|
||||
states="open,draft,pending"/>
|
||||
<field name="state" nolabel="1" widget="statusbar" clickable="True"
|
||||
statusbar_colors='{"pending":"blue"}'/>
|
||||
</header>
|
||||
|
||||
@@ -324,8 +324,8 @@
|
||||
<td style="width:50%;">
|
||||
<ul>
|
||||
<li>Projects</li>
|
||||
<li>Tasks and tasks delegation</li>
|
||||
<li>Issues and issues escalation</li>
|
||||
<li>Tasks</li>
|
||||
<li>Issues</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td style="width:50%;">
|
||||
@@ -334,7 +334,6 @@
|
||||
<li>Discover the Kanban view to quickly operate some actions and to quickly detect any bottlenecks in your projects flows</li>
|
||||
<li>Discover the Gantt view to see how your project has been planned and adapt it according to new elements or to the people agenda</li>
|
||||
<li>Define project members & delegate tasks</li>
|
||||
<li>Register issues and escalate them</li>
|
||||
<li>Create automatically timesheet lines in the Human Resources menu from recorded work activities</li>
|
||||
<li>Track and invoice (to customers) the costs associated to a project</li>
|
||||
<li>Manage a support ticket system</li>
|
||||
|
||||
@@ -44,11 +44,7 @@ class crm_team(osv.Model):
|
||||
'code': fields.char('Code', size=8),
|
||||
'active': fields.boolean('Active', help="If the active field is set to "\
|
||||
"true, it will allow you to hide the sales team without removing it."),
|
||||
<<<<<<< HEAD
|
||||
'company_id': fields.many2one('res.company', 'Company'),
|
||||
'change_responsible': fields.boolean('Reassign Escalated', help="When escalating to this team override the salesman with the team leader."),
|
||||
=======
|
||||
>>>>>>> 7857b36... [IMP] sales_team : Remove the lead escalation feature
|
||||
'user_id': fields.many2one('res.users', 'Team Leader'),
|
||||
'member_ids': fields.many2many('res.users', 'sale_member_rel', 'team_id', 'member_id', 'Team Members'),
|
||||
'reply_to': fields.char('Reply-To', size=64, help="The email address put in the 'Reply-To' of all emails sent by Odoo about cases in this sales team"),
|
||||
|
||||
@@ -92,13 +92,6 @@
|
||||
</page>
|
||||
<page string="More Info" groups="base.group_sale_manager">
|
||||
<group name="sales_team_more_info">
|
||||
<<<<<<< HEAD
|
||||
<group string="Escalation" name="sales_team_escalation_group">
|
||||
<field name="parent_id"/>
|
||||
<field name="change_responsible"/>
|
||||
</group>
|
||||
=======
|
||||
>>>>>>> 7857b36... [IMP] sales_team : Remove the lead escalation feature
|
||||
<group>
|
||||
<field name="active"/>
|
||||
<field name="company_id" groups="base.group_multi_company"
|
||||
|
||||
Reference in New Issue
Block a user