Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

14E - Track activities changes on chatter

Subscribe

Get notified when there's activity on this post

This question has been flagged
logchatteractivitiesv14
2 Replies
3142 Views
Avatar
Rodrigo Robles

Is there a way for Odoo 14 Enterprise edition to track activities changes after creation on the chatter of the same related document?.

Want to achieve something like this:

Example of an opportunity stage change:

( - Stage: New -> Contact) [changed the stage of an opportunity in the kanban] 

But for this case it would be:

{User that made the changes} (Hope is like the user doing the changes would be automatically added as the user for a note in the chatter, I believe that that is the native flow)

- Assigned to: {previous_user} -> {new_user}
- Due date: {date_before} -> {new_date}
- etc..

Hope it is understandable.

Thanks in advance,
Rodrigo

0
Avatar
Discard
Avatar
Chris TRINGHAM
Best Answer

The Cybrosys answer explains how you can do this with development.

If that's not possible, there is another approach with a computed field.  It's slightly easier if you have Studio, but that's not essential.  

This tracks the delivery address on a sales order

  1. Create a new text field
  2. Set dependencies to be the fields to be tracked
  3. Add Python code to write a log to the new text field


for record in self:
     if record['partner_shipping_id']:
         record['x_studio_history'] = record.name + ' / Delivery address: ' + record.partner_shipping_id.name

Fuller explanation here: https://odootricks.tips/tracking-existing-fields-using-odoo-studio/

It's not the most elegant solution, but it does work!

0
Avatar
Discard
Rodrigo Robles
Author

I have managed to do that in other records for their own module, I have tried this way but haven't been able to solve it since mail.activity is a separate model from others, sale.order in your example, and I believe the chatter in that case is connected to sale.order and not mail.activity following your example.

I'll check a workaround doing this maybe with an automated action, but still haven't find a solution for this.

Chris TRINGHAM

Hi Rodrigo. I think I was misled by the other answer. You want to track the activities that are created for an opportunity. You are right that this can be done with an automated action, but will require some Python code to relate that back to the parent item (e.g. Opportunity). A related answer is here: https://www.odoo.com/forum/help-1/re-studio-automations-for-the-non-programmer-246730/#answer-246730 but need help on the Python code.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

To track the changes you can add the attribute tracking=True 

in the field example:

state = fields.Selection(string='Status',  tracking=True, selection=[
            ('open', 'New'),
            ('posted', 'Processing'),
            ('confirm', 'Validated'),
        ])


Hope it helps

0
Avatar
Discard
Rodrigo Robles
Author

Mind expanding a lil bit in this?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
v14E - Timestamp when activity is changed/cancelled.
chatter activities v14
Avatar
0
Jan 24
2072
In odoo17.How to synchronize the information to the fields of the new model when chatter log adds new data?
log chatter
Avatar
0
Apr 24
2166
Is there a way to pin a chat in odoo 14?
chatter v14
Avatar
Avatar
1
Dec 22
3722
How to Hide Chatter Solved
chatter v14
Avatar
Avatar
2
Oct 20
8895
I want person should receive log data every day on his email ,for any record like project task, log notes every day,How its possible?
log chatter
Avatar
0
Dec 19
2935
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now