I added chatter to \view.users.form. Why does not it work?
AttributeError: type object 'res.users' has no attribute 'message_post'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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"
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Feb 25
|
1401 | ||
Chatter looks weird in 18.0
Solved
|
|
2
Dec 24
|
2395 | |
|
0
Nov 24
|
1145 | ||
|
3
May 24
|
4580 | ||
|
0
Jan 25
|
2617 |