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

Hi,

I want to give access to the portal to my customers, but I need them to be able to see only invoice issues after the 30th of June, 2023.

I'm using Odoo Online & Odoo Studio, and I understand that I can't use Odoo Studio to update the portal.

I think I need to inherit a view, but I'm not sure what to do exactly - is there someone who can guide me on this, please?

Thanks for your help



頭像
捨棄
作者

Thanks Nyias & Savya !
I finally updated the domain of the record rule and it works!
I hope Odoo will update studio to be able to update the portal in the future! 

Have a great day!


最佳答案

HI,

You can try to achieve as follows, if you see the record rules of the model account.move, there will be some record rules assigned for portal users.

You can change the domain of record rule to show only records after that date. Along with current domain , add [('date_field', '>', '2023-06-30')]


This is the way by which you can achieve it from ui, if you are not preferring to add some custom codes


Thanks

頭像
捨棄
最佳答案

Hi,

Odoo Studio does not provide direct support for inheriting views. But, It allows customizing the fields and their attributes from the front end.

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 24
1261
0
7月 23
1496
1
7月 23
3571
2
6月 25
560
0
3月 25
715