Openerp几个Email问题处理方法
2015-08-14 15:30
387 查看
(1)解决Odoo将合作伙伴自动添加为关注者的问题
参考url:https://www.odoo.com/fr_FR/forum/help-1/question/how-to-stop-openerp-from-adding-partner-as-followers-automatically-25601
This behavious is actually generating many issues. On my side, i have changed the file mail_thread.py from this :
to this :
Now adding automatically follower is disabled.
(2)防止Odoo自动发送邮件给客户
参考URL:https://www.odoo.com/fr_FR/forum/help-1/question/how-to-avoid-sending-notifications-per-email-2489
参考url:https://www.odoo.com/fr_FR/forum/help-1/question/how-to-stop-openerp-from-adding-partner-as-followers-automatically-25601
This behavious is actually generating many issues. On my side, i have changed the file mail_thread.py from this :
# automatically subscribe recipients if asked to if context.get('mail_post_autofollow') and thread_id and partner_ids: partner_to_subscribe = partner_ids if context.get('mail_post_autofollow_partner_ids'): partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids) self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)
to this :
# automatically subscribe recipients if asked to #if context.get('mail_post_autofollow') and thread_id and partner_ids: # partner_to_subscribe = partner_ids # if context.get('mail_post_autofollow_partner_ids'): # partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids) # self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)
Now adding automatically follower is disabled.
(2)防止Odoo自动发送邮件给客户
参考URL:https://www.odoo.com/fr_FR/forum/help-1/question/how-to-avoid-sending-notifications-per-email-2489
相关文章推荐
- OpenERP v6.1新特性解读 (一)整体易用性、界面、移动性
- OpenERP v6.1新特性解读 (三) 技术
- OpenERP 的XML-RPC的实例+many2many,one2many,many2one...
- linux 下使用supervisor管理源码启动的openerp
- OpenERP7.0中日期无效的问题
- OpenERP中文字体问题的解决办法
- OpenERP 7.0安装注意事项
- OpenERP7 - Multiple sale order, invoice layouts, reports
- openerp 五险一金工资模块
- openerp 禁止导出
- 销售提成的模块
- GreenOpenERP for Linux 绿色版安装脚本及启动服务
- OpenERP Web开发
- openERP RFQ的Confirm/Approve权限钮控制
- 对不起SAP,我要终结你!--OpenERP7.0文章写的很好
- 自己建OpenERP群
- Ubuntu Server + openerp(三)
- win8 系统 OpenERP 7.0 安装指南 绝对亲自经历,前前后后安装删除了不下50次!