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

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
186
2
8月 25
523
2
8月 25
573
0
8月 25
532
1
8月 25
1093