تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1517 أدوات العرض

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
مايو 24
1261
0
يوليو 23
1496
1
يوليو 23
3567
2
يونيو 25
560
0
مارس 25
715