Add Chatter To Form View And Schedule Activities In Odoo 18

January 16, 2025 by
admin


                                                                                                                 


Add Chatter To Form View And Schedule Activities In Odoo 18


Overview
The Chatter in Odoo is an essential feature designed for seamless communication, logging, and collaboration. It is integrated into various models like res.partner, sale.order, and account.move, enabling users to manage interactions and track updates directly from the form view. Chatter provides functionalities such as logging internal notes, sending messages, scheduling activities, and tracking changes to fields. These tools allow for efficient communication between team members and with external stakeholders while maintaining a history of all activities and modifications associated with a record.


Scheduled Activity In Chatter
A significant feature of Chatter is its activity scheduling capability, which lets users create and manage tasks such as calls, emails, to-dos, and meetings. For instance, a user can schedule a follow-up call for a specific sales order or send a reminder email to a customer regarding an overdue invoice. These activities can be assigned to specific users, given a deadline, and tracked until completion. Once done, users can mark the activity as completed directly from the Chatter interface.


Description
The Chatter feature is typically displayed within the form view of a model. Its position, whether at the bottom or on the right side of the form view, is controlled by the Chatter's position attribute.


But if we create a custom model the chatter will not available there


To enable the chatter and its activity scheduler inherit the related model and insert the chatter code in the view after the form


    
    class TestTest(models.Model):
       _name = "Metric.model"
       _description="Metric"
       _inherit = ['mail.thread', 'mail.activity.mixin']

Mail.thread and mail.activity.mixin are the related models of chatter , inherit these base models into your custom model


Add a Closing tag of chatter after sheet tag before form tag, No other code is needed



Upgrade the module to view the chatter


It is possible to edit and erase the log notes from the lines. You can also respond with emojis, edit, and add to favorites.


To monitor the changes add tracking for all fields like this


    
    
    benchmark = fields.Char(string="Benchmark value",tracking=True)



Fields with Tracking is monitored by chatter , every time we change the values inside the fields are updated as a log inside with the old , changed value and the user who changed the values
To Schedule activities from chatter
Click the Activities button




Here you can select Activity type , Assigned to and summary and schedule the activity


Activity scheduled and Assignees Can Edit , Cancel and Done the Activities


Conclusion
The Chatter feature in Odoo significantly enhances collaboration and productivity within the platform by streamlining communication, activity scheduling, and record tracking. Its seamless integration into form views allows users to manage updates, log activities, and follow changes effortlessly, ensuring that all stakeholders stay informed and engaged. The main features are Enables users to send messages, log notes, and discuss directly within the record.Enables users to send messages, log notes, and discuss directly within the record.Enables users to send messages, log notes, and discuss directly within the record.Facilitates the creation and assignment of activities such as meetings, calls, and tasks.Automatically logs changes to specified fields for better auditability.


If you are looking for an ERP implementation partner with diverse industry experience feel free to contact us. Zesty Beanz Technologies is headquartered in Trivandrum Kerala,  We have proven track record of successful implementations across the world in various sectors including Odoo for Manufacturing, Odoo for Trading, Odoo for FMCG, Odoo for Oil & Gas, Odoo for Diary, Odoo for Pharma, Odoo for Cosmetic Clinic, Odoo for Contracting Companies, Odoo for HVAC, Odoo for Logistics, Odoo for Automobile, Odoo for Laundry, Odoo for Field Service, Odoo for E-Commerce & many more


ZestyBeanz offers Developer / Consultant outsourcing programs, Chat with us in Whatsapp and Hire Odoo Developers, Mobile Application Developers, Consultants.
#OdooKerala #OdooKochi #OdooTrivandrum #OdooERP #ProjectManagement #OdooVansales #HireOdooDeveloper
# Odoo