[REF] change to required=true the email registration field

bzr revid: mva@openerp.com-20120202105542-40z8qffgbmmv1av8
This commit is contained in:
MVA 2012-02-02 11:55:42 +01:00
parent 936f530e4e
commit 0009e6b63f
2 changed files with 5 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class event_event(osv.osv):
'city' : registration.city,
'firstname' : registration.name ,
'lastname': '',
'email': email
'email': registration.email
}
#create a dictionary for an user
list_users.append(dic_users)

View File

@ -13,6 +13,10 @@
<field name="moodle_user_password" readonly='1' colspan="2"/>
</page>
</xpath>
<field name="email" position="replace"/>
<field name="phone" position="after" >
<field name="email" required="1" />
</field>
</field>
</record>
</data>