Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

14E - Track activities changes on chatter

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
logchatteractivitiesv14
2 Réponses
4597 Vues
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
Ignorer
Avatar
Chris TRINGHAM
Meilleure réponse

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
Ignorer
Rodrigo Robles
Auteur

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
Meilleure réponse

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
Ignorer
Rodrigo Robles
Auteur

Mind expanding a lil bit in this?

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
v14E - Timestamp when activity is changed/cancelled.
chatter activities v14
Avatar
0
janv. 24
3180
Read-only users cannot create Log Notes / Schedule Activities on chatter (Access Error) Résolu
chatter v14
Avatar
Avatar
1
déc. 25
1596
In odoo17.How to synchronize the information to the fields of the new model when chatter log adds new data?
log chatter
Avatar
0
avr. 24
3201
Is there a way to pin a chat in odoo 14?
chatter v14
Avatar
Avatar
1
déc. 22
4723
How to Hide Chatter Résolu
chatter v14
Avatar
Avatar
2
oct. 20
10382
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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