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)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Struggling to Build Vendor & Participant Tabs in Events Module Using Only Odoo Studio (Online)

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
eventstudio
1 Responder
1105 Visualizações
Avatar
Tarun Malyala

Hi everyone,

I'm working on customizing the Events module in Odoo 18 (Community, Online) using only Odoo Studio — no backend or developer access. The goal is to add two tabs inside each Event form:

  1. Participants Tab – with fields like attendee name, email, phone, status, ticket type, activities, etc.
  2. Vendors Tab – with fields like vendor name, phone, email, and expense category.

I created two new models using Studio:

  • Event Participant Line
  • Event Vendor Line

Each has a Many2one field pointing to res.partner for name, and other fields (char or Many2one for category, phone, etc). I added a Many2one to the Event model so I could link it via One2many in the Event form.

Then, I added tabs inside the Event form and dragged One2many fields (linked to these models) to display the lines inline.

Here's the issue:

Everything looks fine at first — I can click “Add a line,” fill in the fields, and click save.

But after saving and closing, the fields like name, phone, email disappear — the data isn’t saved or linked properly.

I’ve tried:

  • Recreating the models
  • Checking the relation fields
  • Trying Char vs Many2one
  • Creating inline views from scratch
  • Saving/reloading repeatedly

Same problem persists.

Also tried creating email templates to trigger off these tabs, but Studio doesn’t support email automation or linking templates dynamically.

My question is:

Has anyone been able to get this working purely using Odoo Studio? Is this just a known limitation, and backend code is absolutely required for these kinds of nested record links to behave correctly?

Appreciate any insight or workarounds!

Thanks in advance 

0
Avatar
Cancelar
Avatar
Piyush H
Melhor resposta

Hello Tarun,

Based on your description, you're encountering a common Studio limitation with relational data persistence. Here's how to make this work without backend code:

The Root Problem

When using Studio-created models with One2many relationships, Odoo often fails to properly save the relational data due to missing inverse fields in the underlying database structure.

Working Solution (Pure Studio Approach)

1. Recreate Your Models Correctly

For Participants:

  1. In Studio, create "Event Participant" model
  2. Critical Fields:
    • event_id (Many2one to Event)
    • partner_id (Many2one to res.partner)
    • status (Selection field)
    • ticket_type (Char or Many2one to a custom "Ticket Type" model)

For Vendors:

  1. Create "Event Vendor" model
  2. Critical Fields:
    • event_id (Many2one to Event)
    • partner_id (Many2one to res.partner)
    • expense_category (Many2one to a custom "Expense Category" model)
2. Configure the Event Form
  1. Edit the Event form in Studio
  2. Add two new tabs
  3. For each tab:
    • Add a One2many field
    • Set the relation to your custom model
    • Set the inverse field (event_id)
3. Fixing the Disappearing Data Issue

The key is to use the form view widget instead of inline:

  1. Remove your current One2many fields
  2. Re-add them but:
    • Click the gear icon on the One2many field
    • Change Widget from "Many2many" to "One2many"
    • Set View Mode to "form,tree" (not just "tree")
    • Enable "Allow creation", "Allow deletion"
4. Alternative Approach Using Existing Relations

Instead of custom models, leverage Odoo's built-in:

  • Participants: Use event.registration model (already exists)
  • Vendors: Use event.sponsor model (exists in Enterprise)

You can customize these existing models in Studio without creating new ones.

Why This Works

  • Using form view forces proper record creation before linking
  • Built-in models already have proper database relations
  • Odoo handles the inverse field management automatically

Limitations to Accept

  1. Email Automation: Studio can't create automated emails based on these custom tabs
  2. Advanced Filtering: Complex domain filters may not work
  3. Mobile App: Custom tabs may not appear in mobile views

Workaround for Email Notifications

Create manual email templates under Settings → Technical → Email → Templates, then:

  1. Add a "Send Email" button to your custom tabs
  2. Configure it to use your template
  3. Users will need to click manually to send

Final Recommendation

For a production environment, consider:

  1. Using Odoo Enterprise (has built-in sponsor/vendor features)
  2. A one-time developer assist to properly create the models

Odoo.sh trial to test with more backend access

🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)

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
Publicações relacionadas Respostas Visualizações Atividade
debit and credit in currency
studio
Avatar
Avatar
1
nov. 25
2159
Menu's with different default filter Resolvido
studio
Avatar
Avatar
1
jul. 25
2240
Digest mails - any good resources for Studio Resolvido
studio
Avatar
Avatar
2
mar. 25
2380
Payment terms format change
studio
Avatar
0
fev. 25
1966
V18 of odoo, How to add a computed field in a stock report? Example: Total weight of my available product.
studio
Avatar
0
fev. 25
2449
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