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

I know the default fields on the sign up page are name, email, password. I want to add more fields like phone number or telephone number. Can someone tell me how to add those fields through a custom module? Including the __manifest__.py and __init__.py file.

頭像
捨棄
作者

Where is the database_manager.html?

最佳答案

Hi

Try creating a module with auto install : true. Override render_template function in addons/web/controllers/main.py 

and render a new html instead of database_manager.html, and make necessary changes in your module

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
10月 23
6380
2
11月 22
6759
0
9月 21
2863
4
8月 20
7679
2
3月 20
11530