Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3319 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
1629
2
Des 24
2657
0
Nov 24
3005
3
Mei 24
4871
0
Jan 25
2809