Odoo Help


How to add aditional fielsds in signup form

aneesh ATEES Infomedia Pvt Ltd
on 9/10/15, 12:25 AM 1,403 views


i want add college details in the signup form ,how to solve it


Parikshit Vaghasiya

--Parikshit Vaghasiya--
| 6 3 8
--Parikshit Vaghasiya--

Working as an OpenERP/Odoo developer both experience in web and addons. you can contact me at:

E-mail : parikshitvaghasiya@gmail.com

Blog : parikshitvaghasiya.blogspot.in

Stackoverflow : http://stackoverflow.com/users/5089106/parikshit-vaghasiya

Parikshit Vaghasiya
On 9/10/15, 2:05 AM


you have to inherit template = auth_signup.fields from auth_signup module. where you can add your field Like this :

<template id="signup_layout_replace" inherit_id="auth_signup.fields" name="sign up layout">
<xpath expr="t" position="replace">
<t t-call="web.database_select"/>

<div class="form-group field-login">
<label for="login" class="control-label">Your Email</label>
<input type="text" name="login" t-att-value="login" id="login" class="form-control" autofocus="autofocus"
required="required" t-att-readonly="'readonly' if only_passwords else None"/>

<div class="form-group field-name">
<label for="name" class="control-label">Your Name</label>
<input type="text" name="name" t-att-value="name" id="name" class="form-control" placeholder="e.g. John Doe"
required="required" t-att-readonly="'readonly' if only_passwords else None"
t-att-autofocus="'autofocus' if login and not only_passwords else None" />

<div class="form-group field-password">
<label for="password" class="control-label">Password</label>
<input type="password" name="password" id="password" class="form-control"
required="required" t-att-autofocus="'autofocus' if only_passwords else None"/>

<div class="form-group field-confirm_password">
<label for="confirm_password" class="control-label">Confirm Password</label>
<input type="password" name="confirm_password" id="confirm_password" class="form-control" required="required"/>

//New Field

<div class="form-group field-new">
<label for="label" class="control-label">Label</label>
<input type="text" name="label" id="label" class="form-control" required="required"/>


Hope this will help.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 9/10/15, 12:25 AM
Seen: 1403 times
Last updated: 9/12/15, 3:52 AM