Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
Events Functional Suggestion events Appointment
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
Events Functional Suggestion events Appointment
Sobre este fórum
  1. Events
  2. Fórum

Dates from Events Module not on Calendar Module

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
2 Respostas
3972 Visualizações
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
Cancelar
Avatar
Gracious Joseph
Melhor resposta

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
Cancelar
Avatar
Anastassia Goidina
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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