Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4315 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Where is the database_manager.html?

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 23
6386
2
thg 11 22
6761
0
thg 9 21
2868
4
thg 8 20
7682
2
thg 3 20
11532