コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3278 ビュー

I added chatter to \view.users.form. Why does not it work?
AttributeError: type object 'res.users' has no attribute 'message_post'

アバター
破棄
最善の回答

You need to inherit res.users model and inherit mail.thread and mail.activity.mixin

from odoo import api, fields, models, _

class ResUsers(models.Model):
    _inherit = ["res.users", "mail.thread", "mail.activity.mixin"]
_name = "res.users"
アバター
破棄
関連投稿 返信 ビュー 活動
1
2月 25
1614
2
12月 24
2605
0
11月 24
2651
3
5月 24
4847
0
1月 25
2785