Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3213 Zobrazení

I added chatter to \view.users.form. Why does not it work?
AttributeError: type object 'res.users' has no attribute 'message_post'

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 25
1485
2
pro 24
2453
0
lis 24
1366
3
kvě 24
4681
0
led 25
2680