Twinkle Christian(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-removed-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-removed-tch/+merge/123064

Hello Sir,
I have removed server warning :
where warning is 
   1 : warning openerp.addons.base.ir.ir_ui_view: Setting the `type` field is 
deprecated in the `ir.ui.view` model.
   2 :warning openerp.sql_db: Programming error: column "user_email" named in 
key does not exist, in query ALTER TABLE 
      "res_users" ADD CONSTRAINT "res_users_email_uniq" UNIQUE (user_email)
Kindly review this.

Thanks 
TCH.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-removed-tch/+merge/123064
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation.
=== modified file 'auth_oauth/auth_oauth_view.xml'
--- auth_oauth/auth_oauth_view.xml	2012-08-17 13:28:35 +0000
+++ auth_oauth/auth_oauth_view.xml	2012-09-06 12:18:24 +0000
@@ -4,7 +4,6 @@
         <record model="ir.ui.view" id="view_oauth_provider_form">
             <field name="name">auth.oauth.provider.form</field>
             <field name="model">auth.oauth.provider</field>
-            <field name="type">form</field>
             <field name="arch" type="xml">
                 <form string="arch" version="7.0">
                     <sheet>
@@ -26,7 +25,6 @@
         <record model="ir.ui.view" id="view_oauth_provider_list">
             <field name="name">auth.oauth.provider.list</field>
             <field name="model">auth.oauth.provider</field>
-            <field name="type">tree</field>
             <field name="arch" type="xml">
                 <tree string="arch" version="7.0">
                     <field name="name" />

=== modified file 'auth_reset_password/auth_reset_password.py'
--- auth_reset_password/auth_reset_password.py	2012-08-31 13:51:36 +0000
+++ auth_reset_password/auth_reset_password.py	2012-09-06 12:18:24 +0000
@@ -31,7 +31,10 @@
 
 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!')
     ]

=== modified file 'auth_reset_password/auth_reset_password.xml'
--- auth_reset_password/auth_reset_password.xml	2012-08-03 17:04:18 +0000
+++ auth_reset_password/auth_reset_password.xml	2012-09-06 12:18:24 +0000
@@ -25,7 +25,6 @@
         <record id="reset_password_wizard_form_view" model="ir.ui.view">
             <field name="name">auth.reset_password.form</field>
             <field name="model">auth.reset_password</field>
-            <field name="type">form</field>
             <field name="arch" type="xml">
                 <form string="Reset Password" version="7.0">
                     <field name="state" invisible="1"/> 

=== modified file 'base_setup/base_setup_views.xml'
--- base_setup/base_setup_views.xml	2012-08-14 12:30:50 +0000
+++ base_setup/base_setup_views.xml	2012-09-06 12:18:24 +0000
@@ -6,9 +6,6 @@
         <record id="base.menu_res_company_global" model="ir.ui.menu">
             <field name="groups_id" eval="[(3, ref('base.group_no_one'))]"/>
         </record>
-        <record id="base.menu_publisher_warranty" model="ir.ui.menu">
-            <field name="groups_id" eval="[(3, ref('base.group_no_one'))]"/>
-        </record>
 
         <!-- Specify your terminology config wiz -->
         <record id="base_setup_terminology_form" model="ir.ui.view">

_______________________________________________
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