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
    • Validations
    • 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
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • 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
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et 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
    Browse all 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
    • Devenez partenaire
    • Services for Partners
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
Events Functional Suggestion events Appointment
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
Events Functional Suggestion events Appointment
À propos de ce forum
  1. Events
  2. Forum

Dates from Events Module not on Calendar Module

S'inscrire

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

Cette question a été signalée
2 Réponses
3993 Vues
Avatar
Ron Felton

Dates that i add to my events  module calendar do not show up on the calendar module. I must be missing some element in the settings? I see a post where there are technical settings options for default template but I cant find those either. TY
16.1 enterprise


1
Avatar
Ignorer
Avatar
Gracious Joseph
Meilleure réponse

The issue where dates from the Events module do not appear in the Calendar module is typically related to how Odoo synchronizes data between these modules. The Events module and Calendar module are separate applications, and their integration is not automatic. Below is a guide to resolving this issue.

1. Understand the Link Between Events and Calendar Modules

  • The Events module is designed for managing public or private events, typically for larger audiences or campaigns.
  • The Calendar module focuses on internal scheduling, appointments, and tasks.

By default, Events do not automatically sync with the Calendar. You need to enable synchronization or use customization to achieve this.

2. Enable Google Calendar Integration (Optional)

If you use Google Calendar, enabling its integration may help:

  1. Activate Google Calendar Sync:
    • Navigate to Settings > General Settings > Calendar Integration.
    • Enable Google Calendar Integration and authenticate your account.
    • Check whether the events sync with Google Calendar and reflect in Odoo's Calendar module.

This solution works only if Google Calendar is being used as the intermediary.

3. Manual Configuration of Event Sync to Calendar

If you want direct synchronization between the Events and Calendar modules within Odoo:

  1. Verify Event Dates:
    • Go to Events > Events and ensure the event has the Start Date and End Date set properly.
  2. Use Server Actions or Automated Actions:
    • Create a server action or automated action that creates a corresponding calendar entry whenever an event is created or updated.
    Example Python Code for Server Action:
    for event in records:
        # Check if the event already has a linked calendar entry
        existing_meeting = env['calendar.event'].search([('event_id', '=', event.id)], limit=1)
        if not existing_meeting:
            # Create a calendar event
            env['calendar.event'].create({
                'name': event.name,
                'start': event.start_date,
                'stop': event.end_date,
                'partner_ids': [(6, 0, event.attendee_ids.ids)],  # Link attendees
                'event_id': event.id,  # Link to the event
            })
    
    • Attach this server action to the Create or Write action on the Event model to ensure that calendar events are created or updated whenever events are modified.

4. Check Default Views or Filters

If the dates are syncing but not showing up:

  1. Check Filters in the Calendar View:
    • Go to Calendar > Filters and ensure that no filters (e.g., only showing tasks or appointments) are preventing the display of events.
  2. Set Default Template in Technical Settings:
    • Enable Developer Mode.
    • Go to Settings > Technical > User Interface > Views.
    • Search for the Calendar view linked to the Event model and verify its configuration.

5. Advanced: Custom Development (Optional)

For advanced setups, consider creating a direct relationship between the Events and Calendar modules:

  1. Extend the Event Model:
    • Add a Many2one field to link to the calendar.event model.
    • Modify the calendar view to display events tied to the Event module.
    Example Field Addition:
    class Event(models.Model):
        _inherit = 'event.event'
    
        calendar_event_id = fields.Many2one('calendar.event', string="Calendar Event")
    

6. Test the Configuration

  • Create a test event in the Events module and verify if it appears in the Calendar module.
  • If using server actions or custom code, ensure there are no errors in the logs (found under Settings > Technical > Logs > Server Logs).

Outcome

Once these steps are implemented, events created in the Events module will automatically show up in the Calendar module, either through synchronization, automation, or custom integration. Let me know if you need further details or help with implementing this!

0
Avatar
Ignorer
Avatar
Anastassia Goidina
Meilleure réponse

Did you end up finding a solution as I am struggling with the same and can't use the out of the box Google calendar integration this way.

0
Avatar
Ignorer
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
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
  • Devenez 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 ภาษาไทย 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