0
:openerpでメールスレッドodoo 9
Odoo Server Error
Traceback (most recent call last):
File "/home/pc/git/odoo/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/pc/git/odoo/openerp/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/home/pc/git/odoo/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/pc/git/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/pc/git/odoo/openerp/http.py", line 314, in checked_call
result = self.endpoint(*a, **kw)
File "/home/pc/git/odoo/openerp/http.py", line 964, in __call__
return self.method(*args, **kw)
File "/home/pc/git/odoo/openerp/http.py", line 514, in response_wrap
response = f(*args, **kw)
File "/home/pc/git/odoo/addons/web/controllers/main.py", line 888, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/pc/git/odoo/addons/web/controllers/main.py", line 880, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/pc/git/odoo/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/home/pc/git/odoo/openerp/api.py", line 381, in old_api
result = method(recs, *args, **kwargs)
File "/home/pc/git/odoo/addons/mail/models/mail_thread.py", line 1473, in message_get_suggested_recipients
if not obj.user_id or not obj.user_id.partner_id:
AttributeError: 'res.partner' object has no attribute 'partner_id'
が追加された「依存」:[「基本」、「ウェブ」、「ウェブサイト」 、 '時間'、 'メール']、モデルで
が追加されます。_inherit = [ 'mail.thread'、 'ir.needaction_mixin']
問題であり、ここで名前のOD表は何ですかメッセージストア?
私は変更フィールド名だクラスで
に
? –
メールテンプレートの完全なコードを投稿する.....とpy –
@ EmiproTechnologiesPvt.Ltd。私は私の質問を更新しています、コンソールからの完全なエラーコードはここにあります。他のモジュールでは、メールスレッドもすべて正常に動作します。ボタン内部メモを正常に記録する! –