Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1519 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 24
1261
0
июл. 23
1496
1
июл. 23
3571
2
июн. 25
560
0
мар. 25
715