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
फ़र॰ 25
|
1468 | ||
Chatter looks weird in 18.0
Solved
|
|
2
दिस॰ 24
|
2441 | |
|
0
नव॰ 24
|
1294 | ||
|
3
मई 24
|
4659 | ||
|
0
जन॰ 25
|
2660 |