diff options
| author | Kinjal Mehta <kme@odoo.com> | 2015-08-11 19:08:28 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-02 16:02:29 +0200 |
| commit | 3f201066f0f360eaf84ee02b661ad9994758f304 (patch) | |
| tree | 232c5547561b607876d0f6f005f10cbb7e57bcdb /addons/auth_oauth/views/auth_oauth_views.xml | |
| parent | 914b2be9678e747b585839449de04f86464941d4 (diff) | |
[MIG]auth_oauth: Migrate to new api.
Diffstat (limited to 'addons/auth_oauth/views/auth_oauth_views.xml')
| -rw-r--r-- | addons/auth_oauth/views/auth_oauth_views.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/addons/auth_oauth/views/auth_oauth_views.xml b/addons/auth_oauth/views/auth_oauth_views.xml index 58359ee9bfe..0419c1c9f31 100644 --- a/addons/auth_oauth/views/auth_oauth_views.xml +++ b/addons/auth_oauth/views/auth_oauth_views.xml @@ -1,7 +1,6 @@ <?xml version="1.0"?> -<openerp> - <data> - <record model="ir.ui.view" id="view_oauth_provider_form"> +<odoo> + <record id="view_oauth_provider_form" model="ir.ui.view"> <field name="name">auth.oauth.provider.form</field> <field name="model">auth.oauth.provider</field> <field name="arch" type="xml"> @@ -23,8 +22,8 @@ </form> </field> </record> - <record model="ir.ui.view" id="view_oauth_provider_list"> - <field name="name">auth.oauth.provider.list</field> + <record id="view_oauth_provider_tree" model="ir.ui.view"> + <field name="name">auth.oauth.provider.tree</field> <field name="model">auth.oauth.provider</field> <field name="arch" type="xml"> <tree string="arch"> @@ -34,7 +33,7 @@ </tree> </field> </record> - <record model="ir.actions.act_window" id="action_oauth_provider"> + <record id="action_oauth_provider" model="ir.actions.act_window"> <field name="name">Providers</field> <field name="res_model">auth.oauth.provider</field> <field name="view_type">form</field> @@ -43,5 +42,4 @@ <menuitem id="menu_oauth_providers" name="OAuth Providers" parent="base.menu_users" sequence="30" action="action_oauth_provider" groups="base.group_no_one"/> - </data> -</openerp> +</odoo> |
