Skip to Content
Menu
This question has been flagged
4 Replies
5617 Views

I created a new module in CRM, how can I add the schedule activity button to the chatter box?

Avatar
Discard
Best Answer

Hello Doug,

first in your .py file

_inherit = ['mail.thread', 'mail.activity.mixin']


after in xml file after sheet tag complete,

<div class="oe_chatter">

<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>

<field name="activity_ids" widget="mail_activity"/>

<field name="message_ids" widget="mail_thread"/>

</div>


you can also take reference from Odoo standard module.

Thanks

Avatar
Discard
Best Answer

Hi Doug,

Which ODOO version are you using? v10 or v11? Or an earlier version?

Oliver

Avatar
Discard
Author Best Answer

I am using v11


Avatar
Discard
Best Answer

Hello

'you can also take reference from Odoo standard module'

Could u explain to me how to do this reference in a new module?

Bruno

Avatar
Discard