Skip to Content
Odoo Menu
  • Sign in
  • 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
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
eventstudio
1 Reply
1101 Views
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
Discard
Avatar
Piyush H
Best Answer

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

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

Sign up
Related Posts Replies Views Activity
debit and credit in currency
studio
Avatar
Avatar
1
Nov 25
2158
Menu's with different default filter Solved
studio
Avatar
Avatar
1
Jul 25
2240
Digest mails - any good resources for Studio Solved
studio
Avatar
Avatar
2
Mar 25
2379
Payment terms format change
studio
Avatar
0
Feb 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
Feb 25
2446
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