diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
| commit | 1ca3b3df3421961caec3b747a364071c80f5c7da (patch) | |
| tree | 6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /sh_helpdesk/models/send_mail_quick_reply.py | |
| parent | b57188be371d36d96caac4b8d65a40745c0e972c (diff) | |
initial commit
Diffstat (limited to 'sh_helpdesk/models/send_mail_quick_reply.py')
| -rw-r--r-- | sh_helpdesk/models/send_mail_quick_reply.py | 18 |
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') |
