Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
eventstudio
1 Odpovědět
1092 Zobrazení
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
Zrušit
Avatar
Piyush H
Nejlepší odpověď

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
debit and credit in currency
studio
Avatar
Avatar
1
lis 25
2152
Menu's with different default filter Vyřešeno
studio
Avatar
Avatar
1
čvc 25
2235
Digest mails - any good resources for Studio Vyřešeno
studio
Avatar
Avatar
2
bře 25
2376
Payment terms format change
studio
Avatar
0
úno 25
1962
V18 of odoo, How to add a computed field in a stock report? Example: Total weight of my available product.
studio
Avatar
0
úno 25
2441
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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