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)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

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

Cette question a été signalée
eventstudio
1 Répondre
1106 Vues
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
Ignorer
Avatar
Piyush H
Meilleure réponse

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
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
Publications associées Réponses Vues Activité
debit and credit in currency
studio
Avatar
Avatar
1
nov. 25
2159
Menu's with different default filter Résolu
studio
Avatar
Avatar
1
juil. 25
2240
Digest mails - any good resources for Studio Résolu
studio
Avatar
Avatar
2
mars 25
2380
Payment terms format change
studio
Avatar
0
févr. 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
févr. 25
2449
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