Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
59 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
marrask. 25
29
0
marrask. 25
54
4
marrask. 25
213
0
marrask. 25
129
2
marrask. 25
226