Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3195 Tampilan

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

Avatar
Buang
Jawaban Terbai

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"
Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Feb 25
1422
2
Des 24
2416
0
Nov 24
1180
3
Mei 24
4613
0
Jan 25
2634