Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
102 Visualizzazioni

Hi everyone,

I’m using Odoo 18 Enterprise with Studio only (no custom code or server access). I’ve built a custom model called x_referral_payout, which includes a field x_studio_referrer (Many2one to res.partner) that links each payout to a referrer.

I want to allow portal users to log in and view only their own referral payouts via the website. Here's what I’ve tried so far:

  • ✅ Gave Portal group read access to the model via Access Control List.
  • ✅ Added a Record Rule to restrict payouts to where x_studio_referrer = user.partner_id.id.
  • ✅ Created a Window Action for the list view of payouts.
  • ✅ Added a Website menu item that links to /web#action=1913&model=x_referral_payout&view_type=list.

The problem is:

  • When a portal user clicks the link, they’re redirected to the homepage.
  • Even if I share the list view or use the action ID, it doesn’t load the list as expected.
  • I don’t want to build a controller or custom module — I want a no-code or Studio-only solution.

Has anyone achieved this purely through Odoo Studio or configuration?

Any help would be greatly appreciated!

Thanks!

Avatar
Abbandona
Autore Risposta migliore

Thank you for your answer 

Unfortunetly, I didn't find tab website 
I have only

Views

Reports

Automations

Webhooks

Access Control

Filter Rules

Model Pages

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
nov 25
56
0
nov 25
76
4
nov 25
215
0
nov 25
145
2
nov 25
230