Skip to content

Commit

Permalink
[FIX] helpdesk_mgmt: travis checks
Browse files Browse the repository at this point in the history
  • Loading branch information
catalin-domatix committed Jul 29, 2020
1 parent 59b45b8 commit b7d6c5b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions helpdesk_mgmt/models/helpdesk_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _read_group_stage_ids(self, stages, domain, order):
comodel_name="helpdesk.ticket.channel",
string="Channel",
help="Channel indicates where the source of a ticket"
"comes from (it could be a phone call, an email...)",
"comes from (it could be a phone call, an email...)",
)
category_id = fields.Many2one(
comodel_name="helpdesk.ticket.category", string="Category",
Expand Down Expand Up @@ -152,10 +152,7 @@ def _read_group_stage_ids(self, stages, domain, order):
def send_user_mail(self):
template = self.env.ref("helpdesk_mgmt.assignment_email_template")
self.message_post_with_template(
template.id,
composition_mode="comment",
model=self._name,
res_id=self.id
template.id, composition_mode="comment", model=self._name, res_id=self.id
)

def assign_to_me(self):
Expand Down

0 comments on commit b7d6c5b

Please sign in to comment.