Skip to Content
Odoo Menu
  • Prijavi
  • 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
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
Events Functional Suggestion events Appointment
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
Events Functional Suggestion events Appointment
About this forum
  1. Events
  2. Forum

Dates from Events Module not on Calendar Module

Naroči se

Get notified when there's activity on this post

This question has been flagged
2 Odgovori
3953 Prikazi
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
Opusti
Avatar
Gracious Joseph
Best Answer

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
Opusti
Avatar
Anastassia Goidina
Best Answer

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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
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