OpenERP电子邮件发送问题

use*_*567 5 openerp

目前我正在开发openerp version7.0应用程序的电子邮件发送功能.

遵循的步骤:

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. 
Run Code Online (Sandbox Code Playgroud)

系统抛出以下错误.

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

在此输入图像描述 在此输入图像描述

小智 4

请在您的班级中添加以下行。这会引起注意。

_inherit = ['邮件.线程']