跳至内容
菜单
此问题已终结
2 回复
488 查看

hello, 

I would like to modify the portal inscription on my web site to add fields (already added in contact via studio)

I asked to IA which tell me to modify the form view in studio, but cannot give me the name of the view.

I cannot found this view. Could somebody help me ?

thanks

Daniel

形象
丢弃
编写者 最佳答案

hello and thanks for you answer, but 

after developer mode activation I go to website, - configuration and I cannot find templates but i have:


Paramètres

Sites web

 Applications

Redirection

Menus

Ecommerce

etc...

形象
丢弃
最佳答案

Hi Daniel,

The portal signup form isn’t a normal “form view” that you’ll see in Studio — it comes from a QWeb template in the auth_signup / website modules. The one you’re looking for is usually:

  • auth_signup.login (for login + signup screen)
  • website_sign_up (in recent versions)

To customize it:

  1. Activate Developer Mode.
  2. Go to Website → Configuration → Templates.
  3. Search for auth_signup.login (or website_sign_up).
  4. Duplicate it into your custom module (or edit via Studio/Website Editor) and add the extra fields you already created on res.partner.
  5. In your controller, make sure those fields are written back to the partner record when the form is submitted.

So, you won’t find it in “Views” (like form/tree views) — it’s a Website QWeb template.

Hope this helps!

形象
丢弃
相关帖文 回复 查看 活动
1
9月 25
295
2
8月 25
582
2
8月 25
625
0
8月 25
570
1
8月 25
1168