跳至内容
菜单
此问题已终结
2 回复
1528 查看

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
1268
0
7月 23
1498
1
7月 23
3573
2
6月 25
568
0
3月 25
723