From 5ab7197afe416e38f63986d074a4d2394567c04f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 2 May 2011 16:57:37 +0200 Subject: [PATCH] Changed author name to Akretion Changed view names Great solution (thanks to Sebastien for finding it !) to avoid having 2 different tree&form views for asterisk server. --- asterisk_click2dial/__terp__.py | 2 +- asterisk_click2dial/asterisk_server_view.xml | 63 +++----------------- asterisk_click2dial/res_partner_view.xml | 12 ++-- asterisk_click2dial/res_users_view.xml | 4 +- 4 files changed, 17 insertions(+), 64 deletions(-) diff --git a/asterisk_click2dial/__terp__.py b/asterisk_click2dial/__terp__.py index adac167..ad79c60 100644 --- a/asterisk_click2dial/__terp__.py +++ b/asterisk_click2dial/__terp__.py @@ -47,7 +47,7 @@ Here is how it works : of the user. A detailed documentation for this module is available on the Akretion Web site : http://www.akretion.com/en/products-and-services/openerp-asterisk-voip-connector """, - 'author': 'Alexis de Lattre', + 'author': 'Akretion', 'website': 'http://www.akretion.com/', 'depends': ['base'], 'init_xml': [], diff --git a/asterisk_click2dial/asterisk_server_view.xml b/asterisk_click2dial/asterisk_server_view.xml index 31acd45..a455aa7 100644 --- a/asterisk_click2dial/asterisk_server_view.xml +++ b/asterisk_click2dial/asterisk_server_view.xml @@ -16,20 +16,21 @@ - - + asterisk.server.form asterisk.server form
+ + @@ -49,13 +50,14 @@ - + asterisk.server.tree asterisk.server tree + @@ -64,66 +66,17 @@ - + Asterisk servers asterisk.server form tree,form - - - - - asterisk.server.standalone.form - asterisk.server - - form - - - - - - - - - - - asterisk.server.standalone.tree - asterisk.server - - tree - - - - - - - - - - Asterisk servers - asterisk.server - form - - - - - - tree - - - - - - - - form - - + {'asterisk_server_main_view': True} - + diff --git a/asterisk_click2dial/res_partner_view.xml b/asterisk_click2dial/res_partner_view.xml index 54a02ae..82dc59c 100644 --- a/asterisk_click2dial/res_partner_view.xml +++ b/asterisk_click2dial/res_partner_view.xml @@ -11,8 +11,8 @@ - - res.partner.address.inherit.form1 + + asterisk.res.partner.address.dial1 res.partner.address form 15 @@ -37,8 +37,8 @@ - - res.partner.address.inherit.form2 + + asterisk.res.partner.address.dial2 res.partner.address form 15 @@ -63,8 +63,8 @@ - - res.partner.inherit.form + + asterisk.res.partner.dial res.partner form 15 diff --git a/asterisk_click2dial/res_users_view.xml b/asterisk_click2dial/res_users_view.xml index 97b2d3a..1e176a3 100644 --- a/asterisk_click2dial/res_users_view.xml +++ b/asterisk_click2dial/res_users_view.xml @@ -10,8 +10,8 @@ - - res.users.inherit.internal.number + + asterisk.res.users.internal.number res.users form