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"
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
feb. 25
|
1541 | ||
Chatter looks weird in 18.0
Opgelost
|
|
2
dec. 24
|
2522 | |
|
0
nov. 24
|
1658 | ||
|
3
mei 24
|
4754 | ||
|
0
jan. 25
|
2698 |