[REF] mail: remove useless emojis list on node in arch

This commit is contained in:
Aaron Bohy
2017-04-11 19:44:38 +02:00
parent f1168d06c0
commit c5e00dc802
-2
View File
@@ -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)