Chen Jian

导航

 

2014年1月11日

摘要: 修改代码:addons\mail\mail_thread.py #858 line #msg_dict['email_from'] = decode(message.get('from'))msg_dict['email_from'] = str(tools.email_split(decode(message.get('From')))[0]) 阅读全文
posted @ 2014-01-11 17:48 Chen Jian 阅读(205) 评论(0) 推荐(0) 编辑
 
摘要: 修改代码addons\mail\mail_thread.py #550 line#local_parts = [e.split('@')[0] for e in tools.email_split(rcpt_tos)]1 this = self.pool.get('res.users').browse(cr, uid, uid, context=context)#插入一行2 local_parts = [e.split('@')[1] == this.alias_domain and e.split('@')[0] or ' 阅读全文
posted @ 2014-01-11 16:33 Chen Jian 阅读(279) 评论(0) 推荐(0) 编辑