[REF] mail: remove useless emojis list on node in arch
This commit is contained in:
@@ -367,8 +367,6 @@ class MailThread(models.AbstractModel):
|
||||
options = safe_eval(node.get('options', '{}'))
|
||||
is_employee = self.env.user.has_group('base.group_user')
|
||||
options['display_log_button'] = is_employee
|
||||
# emoji list
|
||||
options['emoji_list'] = self.env['mail.shortcode'].search([('shortcode_type', '=', 'image')]).read(['source', 'description', 'substitution'])
|
||||
# save options on the node
|
||||
node.set('options', repr(options))
|
||||
res['arch'] = etree.tostring(doc)
|
||||
|
||||
Reference in New Issue
Block a user