Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

How to enable ordered Tracking for base many2one fields?

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
trackingbasefieldcustomfieldStudioSF-Experts
1 Antworten
6337 Ansichten
Avatar
Harishankar Unnikrishnan (hun)

The chatter in Odoo is a great way to track changes made to a specific field or a model as it records the changes with notes. For example, if you change the status of a Sale Order, you will immediately notice that it is recorded in the chatter as a note. This gives us valuable information on the user that changed the information along with a timestamp on the same. 

However, this is not set by default on all fields in Odoo, possibly because enabling it for all fields will mean that the chatter will become extremely cluttered with information the moment you change small details. There are only a few important fields (like Status, Scheduled dates etc.) that have it turned on by default. 

Use Case - In the contacts model, I want to track changes made to the “Country” field in the address. How can I achieve this?

0
Avatar
Verwerfen
Avatar
Harishankar Unnikrishnan (hun)
Autor Beste Antwort

Ordered Tracking for Custom fields

Any custom field in Odoo has the option to have ordered tracking turned on in Studio. Steps to do this –

  1. Enable Debug (developer) mode.
  2. Open Studio in the form view.
  3. Click on the field in question.
  4. On the left panel, scroll down and click on “More”.
  5. You will find an option called “Enable Ordered Tracking”.

Enter a number other than 0 in the field. The number indicates the priority of the fields tracking. If a field has a higher number, it has a higher priority and if multiple fields are changed at the same time, the highest priority will show up on top.

Expected behavior for Base fields

Base fields, on the other hand, will not allow you to enable ordered tracking on them. If you follow the above-mentioned steps for base fields you will notice that the ordered tracking field is read-only and even if you try to bypass and make it editable, Odoo will give you an error that says that base fields cannot be edited. 

However, there is a workaround to make this possible if clients need a way to track any changes made to base many2one fields. Keep in mind that this works only for many2one or relational fields and not char fields.

​Workaround for enabling ordered tracking on base fields

Odoo does not prevent the user from enabling ordered tracking on custom fields. We can use this to our advantage to track changes made to base fields. The following steps will enable the user to create a custom field that is related to the base field, which can be tracked.

  1. Open studio in the form view.
  2. Drag and drop a new related field; and relate it to the base field you want to track.
  3. You can name the related field whatever you want but for the sake of tracking in the chatter, I would recommend naming it the same as a base field but with a minor difference to differentiate between the two. For example, you can call it “Country1” or “Country (tracking)” or something along those lines. I recommend having the base field's name in it so that you know what is being modified when it shows up on the chatter.
  4. Follow the steps above to enable ordered tracking on the new related field.
  5. You can choose to make the new field hidden if you want, to avoid any confusion and prevent cluttering the form view.
  6. Exit Studio.

You now have a hidden related field that will change when the base field changes and because ordered tracking is enabled, it will be displayed in the chatter. For example, if I change the Country field, the chatter will display Country1 has been changed. 

1
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
How can I create a customer invoice from a task and link it to the task? Gelöst
Studio SF-Experts
Avatar
1
Okt. 25
2594
How can I create a vendor refund from a task and link it to the task? Gelöst
Studio SF-Experts
Avatar
1
Aug. 24
1820
How can I create a vendor bill from a task and link it to the task? Gelöst
Studio SF-Experts
Avatar
1
Aug. 24
2576
How can I create a customer credit note from a task and link it to the task? Gelöst
Studio SF-Experts
Avatar
1
Aug. 24
2039
[Accounting][Studio] How can I add the purchase order number to the vendor bill? Gelöst
Accounting Studio SF-Experts
Avatar
1
März 25
4385
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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