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

Hi, 

I create a few custom models to record client's property information. Is there a good developer guide to tell me how to add a section in user portal page to display the list of property info?

الصورة الرمزية
إهمال
أفضل إجابة

Hi,
You can add a new section for your custom model in the portal home page like Quotations/Invoices sections . Refer the Invoice template code for that.

https://ibb.co/k6nr05G

Write a controller method in the specified URL to render your template which includes client's property information.

For writing controllers, following blog will help

https://www.cybrosys.com/blog/web-controllers-in-odoo

Regards

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 25
1406
5
أغسطس 24
2632
1
مايو 24
2689
2
فبراير 24
2189
0
أكتوبر 23
1382