Twinkle Christian(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-email-tch
 into 
lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-email-tch/+merge/123686

Hello Sir ,
I removed server warning:column "user_email" named in key does not exist
, in query ALTER TABLE "res_users" ADD CONSTRAINT "res_users_email_uniq" UNIQUE 
(user_email)" from the auth_reset_password module.
Kindly Review this.

Thanks,
TCH.


-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-email-tch/+merge/123686
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation.
=== modified file 'auth_reset_password/auth_reset_password.py'
--- auth_reset_password/auth_reset_password.py	2012-09-10 06:34:52 +0000
+++ auth_reset_password/auth_reset_password.py	2012-09-11 07:28:21 +0000
@@ -32,8 +32,12 @@
 class res_users(osv.osv):
     _inherit = 'res.users'
 
+    _columns = {
+        'email': fields.char('Email', size=240),
+    
+    }
     _sql_constraints = [
-        ('email_uniq', 'UNIQUE (user_email)', 'You can not have two users with the same email!')
+        ('email_uniq', 'UNIQUE (email)', 'You can not have two users with the same email!')
     ]
 
     def _auth_reset_password_secret(self, cr, uid, context=None):

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to