문제

Currently I'm working on email sending functionality of openerp version7.0 application.

Steps followed :

Module 'Email Templates' is installed successfully

Navigated to Settings>>Technical>>Email>>Templates

Created a new template by selecting my module 'latest_base'

Clicked on 'Add context to action button.

Clicked on preview button and no errors reported

Finally navigated to my module and clicked on send email button. 

System throws following error.

AttributeError: 'latest_base' object has no attribute 'message_post'

enter image description here enter image description here

도움이 되었습니까?

해결책

Please add below line in your class.This will take care.

_inherit = ['mail.thread']

다른 팁

It works for me this is how i did it


  1. install fetchmail module
  2. install base_setup (may be this component doesn't exist in your addons)
  3. configure outgoing and incoming server
  4. make sure your mail address pop and smtp are enabled

Good luck with it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top