summaryrefslogtreecommitdiff
path: root/sh_helpdesk/models/send_mail_quick_reply.py
diff options
context:
space:
mode:
Diffstat (limited to 'sh_helpdesk/models/send_mail_quick_reply.py')
-rw-r--r--sh_helpdesk/models/send_mail_quick_reply.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/sh_helpdesk/models/send_mail_quick_reply.py b/sh_helpdesk/models/send_mail_quick_reply.py
new file mode 100644
index 0000000..607bf87
--- /dev/null
+++ b/sh_helpdesk/models/send_mail_quick_reply.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+# Part of Softhealer Technologies.
+
+from odoo import models, fields
+
+
+class SendQuickReply(models.Model):
+ _name = 'sh.quick.reply'
+ _description = 'Quick Reply'
+
+ name = fields.Char('Title', required=True)
+ commom_for_all = fields.Boolean(string='Commom For All', default=False)
+ sh_user_id = fields.Many2one('res.users',
+ string='User',
+ required=True,
+ default=lambda self: self.env.user.id)
+ active = fields.Boolean(default=True)
+ sh_description = fields.Html('Body')