mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 09:58:50 -06:00
[MODIFIED]2.0 solve the email issue in helpdesk.
This commit is contained in:
1 parent
f424c0b803
commit
d32469294a
2 files changed
+13
-10
No files matched your search
@@ -254,7 +254,7 @@ class HelpdeskTicket(models.Model):
|
||||
}
|
||||
)
|
||||
if ticket.stage_id.stage_type == 'done':
|
||||
if 'stage_id' in changes or ticket.team_id.mail_close_tmpl_id:
|
||||
if 'stage_id' in changes and ticket.team_id.mail_close_tmpl_id:
|
||||
res['team_id'] = (ticket.team_id.mail_close_tmpl_id, {
|
||||
'auto_delete_message': True,
|
||||
'subtype_id': self.env['ir.model.data'].xmlid_to_res_id('mail.mt_note'),
|
||||
|
||||
Reference in new issue
Block a user