跳至內容
選單
此問題已被標幟
2 回覆
105 瀏覽次數

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!

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 25
56
0
11月 25
76
4
11月 25
215
0
11月 25
145
2
11月 25
230