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"
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
feb 25
|
1416 | ||
Chatter looks weird in 18.0
Resuelto
|
|
2
dic 24
|
2405 | |
|
0
nov 24
|
1155 | ||
|
3
may 24
|
4593 | ||
|
0
ene 25
|
2622 |