Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1857 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
6
led 25
118891
0
pro 20
3318
1
říj 16
9100
1
bře 15
5418
1
bře 15
6962