콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1902 화면

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
119408
0
12월 20
3420
1
10월 16
9151
1
3월 15
5491
1
3월 15
6997