From 5dfa3f54afab1a9b9ba94a80d394b2df8729dc31 Mon Sep 17 00:00:00 2001 From: "Twinkle Christian (OpenERP)" Date: Thu, 6 Sep 2012 17:16:51 +0530 Subject: [PATCH] [IMP]remove server warnings bzr revid: tch@tinyerp.com-20120906114651-te1glr0yc23vuzru --- addons/auth_oauth/auth_oauth_view.xml | 2 -- addons/auth_reset_password/auth_reset_password.py | 5 ++++- addons/auth_reset_password/auth_reset_password.xml | 1 - addons/base_setup/base_setup_views.xml | 3 --- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/addons/auth_oauth/auth_oauth_view.xml b/addons/auth_oauth/auth_oauth_view.xml index 475720af9fd..35397d72dbd 100644 --- a/addons/auth_oauth/auth_oauth_view.xml +++ b/addons/auth_oauth/auth_oauth_view.xml @@ -4,7 +4,6 @@ auth.oauth.provider.form auth.oauth.provider - form
@@ -26,7 +25,6 @@ auth.oauth.provider.list auth.oauth.provider - tree diff --git a/addons/auth_reset_password/auth_reset_password.py b/addons/auth_reset_password/auth_reset_password.py index ff208c89b9c..40afbcaa4e6 100644 --- a/addons/auth_reset_password/auth_reset_password.py +++ b/addons/auth_reset_password/auth_reset_password.py @@ -31,7 +31,10 @@ def message_check(msg, secret): class res_users(osv.osv): _inherit = 'res.users' - + _columns = { + 'user_email': fields.related('email', type='char', + deprecated='Use the email field instead of user_email. This field will be removed with OpenERP 7.1.') + } _sql_constraints = [ ('email_uniq', 'UNIQUE (user_email)', 'You can not have two users with the same email!') ] diff --git a/addons/auth_reset_password/auth_reset_password.xml b/addons/auth_reset_password/auth_reset_password.xml index 26ea8878c45..428bcbd044b 100644 --- a/addons/auth_reset_password/auth_reset_password.xml +++ b/addons/auth_reset_password/auth_reset_password.xml @@ -25,7 +25,6 @@ If you don't have asked for password reset, you can safely ignore this email. auth.reset_password.form auth.reset_password - form diff --git a/addons/base_setup/base_setup_views.xml b/addons/base_setup/base_setup_views.xml index e07f576aa41..949a39159ac 100644 --- a/addons/base_setup/base_setup_views.xml +++ b/addons/base_setup/base_setup_views.xml @@ -6,9 +6,6 @@ - - -