blob: 607bf8704d42a1aa35472af3b4465a0fc2297658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')
|