[add] email field to the user profile

bzr revid: xmo@tinyerp.com-20091217161957-mpfs3ztvto1nfnv3
This commit is contained in:
Xavier Morel
2009-12-17 17:19:57 +01:00
parent ef21375efa
commit 175fcd7b18
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -210,7 +210,8 @@
<group string="res_config_contents" position="replace">
<separator string="New User" colspan="4"/>
<field name="name" select="1" colspan="4"/>
<field name="name" select="1"/>
<field name="email"/>
<field name="login" select="1"/>
<field name="password" password="True"/>
<field name="context_lang"/>
+2
View File
@@ -131,6 +131,8 @@ class users(osv.osv):
'name': fields.char('Name', size=64, required=True, select=True),
'login': fields.char('Login', size=64, required=True),
'password': fields.char('Password', size=64, invisible=True, help="Keep empty if you don't want the user to be able to connect on the system."),
'email': fields.char('E-mail', size=64, help='If an email is provided'\
', the user will be sent a message welcoming him'),
'signature': fields.text('Signature', size=64),
'address_id': fields.many2one('res.partner.address', 'Address'),
'active': fields.boolean('Active'),