Right, so this was probably asked a bunch of times (\like here) , but I'm trying to get the chatter in my custom module.
in my models.py, I have _inherit like below
_inherit = ['mail.thread', 'ir.needaction_mixin']
At the bottom of my form inside views.xml, I have this
</sheet>
</form>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
<field name="message_ids" widget="mail_thread">
</div>
Finally inside __openerp__.py, I have this
'depends': ['base', 'mail'],
The chatter still does not appear, I have even tried putting it inside the sheet and even using sheet position="after" to no avail. That just creates a white box with nothing in it.
Any help would be greatly appreciated.
(Can't edit my question, just says 403 forbidden...)
EDIT:
If I open my custom module inside Chrome's inspector, I can see the oe_chatter div. In the same div however, I also see the class o_form_invisible.
In the web.assest_backend.0.css file, ".o_form_invisible" simply sets "display: none !important;"
If I remove the class from the div element (and also from the div containing o_followers), the chatter appears and functions correctly. Refreshing the page will make Odoo apply that class again to these elements.
How can I prevent odoo from applying the o_form_invisible class to the chatter elements?