How can I add the repair orders to the portal users view?
The only thing that appears right now are the help desk tickets.
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
Hi
You need to create a controller for passing the data :
module_name.py
| 
 
 
 | 
class MyPortal(CustomerPortal):
    def _prepare_home_portal_values(se
        values = super()._prepare_home_portal_
partner = request.env.user.partner_id
        repair_count = request.env['repair.order'].
'=', partner.id)])
values['repair_count'] = repair_count
return values
Templates:
| 
 <template id="repair_order_page" name="Repair Order"> 
 | 
| you can add the CSS for each class | 
For more reference, you can refer to the Blog: https://www.cybrosys.com/blog/how-to-create-a-custom-report-in-odoo-15-portal-view" target="_blank">https://www.cybrosys.com/blog/
or you can refer to the related apps: https://apps.odoo.com/apps/modules/16.0/website_portal_events/" target="_blank">https://apps.odoo.com/apps/
 href="https://apps.odoo.com/apps/modules/16.0/vendor_portal_odoo/" target="_blank">https://apps.odoo.com/apps/
Hope it helps
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|  | 2 أكتوبر 24  | 34 | ||
|  | 2 مايو 24  | 4283 | ||
| 
            
                Time Off module in portal
            
            
                    تم الحل
            
         |  | 1 أغسطس 25  | 879 | |
|  | 5 يوليو 25  | 12767 | ||
|  | 1 يوليو 24  | 2877 | 
