gpt4 book ai didi

OpenERP邮件发送问题

转载 作者:行者123 更新时间:2023-12-04 20:08:37 26 4
gpt4 key购买 nike

目前我正在研究 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.

系统抛出以下错误。
AttributeError: 'latest_base' object has no attribute 'message_post'
enter image description here
enter image description here

最佳答案

请在您的类(class)中添加以下行。这会照顾好。

_inherit = ['mail.thread']

关于OpenERP邮件发送问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21934752/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com