跳至內容
選單
此問題已被標幟
1 回覆
1824 瀏覽次數

Hi,

The following fields are available when resetting a portal user's password;


Your Email: brandon.freeman55@example.com

Your Name:Brandon Freeman

Password:

Confirm Password:


I want to see the user's company name in this form. For example;


Company:Azure Interior


I think a new controller file is needed. How do I do this?


Thanks

頭像
捨棄
最佳答案

Hi,
To add extra contents in the password reset page.
1. First you need to locate the  template of the password reset page from the addons2. Inherit the template in your custom module3. Add a new div inside the template and call the company from the objectd. Run the module
Please refer the blog to know about the template inheritance

https://www.cybrosys.com/blog/an-overview-of-template-inheritance-in-odoo-16


Hope it helps

頭像
捨棄
作者

Hi,
What is the company field I will call in the template? For example, could it be company_id?
Thanks

相關帖文 回覆 瀏覽次數 活動
6
1月 25
118696
0
12月 20
3286
1
10月 16
9077
1
3月 15
5393
1
3月 15
6950