当我尝试安装 mass_mailing 模块时,我收到此错误消息:
Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: External ID not found in the system: mass_mailing.model_mailing_list
这是一个 Odoo 原生模块,我不知道为什么会出错,这个模块在其他数据库上运行良好。
File "/opt/odoo/addons/mass_mailing/models/mailing.py", line 111, in <lambda>
default=lambda self: self.env.ref('mass_mailing.model_mailing_list').id)