summaryrefslogtreecommitdiff
path: root/addons/google_docs/res_config_user_view.xml
diff options
context:
space:
mode:
authorParth Gajjar (Open ERP) <pga@tinyerp.com>2013-05-23 19:08:48 +0530
committerParth Gajjar (Open ERP) <pga@tinyerp.com>2013-05-23 19:08:48 +0530
commitba97e0cdc2131cdbcc9bb2739ec1670cd209be74 (patch)
tree78d2efe728fa5728969bd9c7843b830a11b11112 /addons/google_docs/res_config_user_view.xml
parent5b9b00631de5020bd5560fe788eab7a703815253 (diff)
[IMP] Moved Google Authorization Code to General Setting
bzr revid: pga@tinyerp.com-20130523133848-0i3j6h3rzj5a66pd
Diffstat (limited to 'addons/google_docs/res_config_user_view.xml')
-rw-r--r--addons/google_docs/res_config_user_view.xml29
1 files changed, 2 insertions, 27 deletions
diff --git a/addons/google_docs/res_config_user_view.xml b/addons/google_docs/res_config_user_view.xml
index ea796ee34b8..2e3d833814b 100644
--- a/addons/google_docs/res_config_user_view.xml
+++ b/addons/google_docs/res_config_user_view.xml
@@ -76,19 +76,7 @@
<xpath expr="//div[@name='google_docs']" position="after">
<div attrs="{'invisible': [('module_google_docs','=',False)]}">
<button type="action" name="%(google_docs.action_google_docs_users_config)d" string="Configure Template" class="oe_link" />
- </div>
- </xpath>
- </field>
- </record>
-
- <record id="view_users_gogole_form" model="ir.ui.view">
- <field name="name">res.users.google.form1</field>
- <field name="model">res.users</field>
- <field name="inherit_id" ref="base.view_users_form"/>
- <field name="arch" type="xml">
- <xpath expr="//notebook" position="inside">
- <page string="Google Authorization Code" attrs="{'invisible': [('id', '!=', 1)]}">
- <group string="Google Authorization Code">
+ <group >
<group >
<field name="authorization_code" on_change="onchange_authorization_code(authorization_code)"/>
</group>
@@ -96,20 +84,7 @@
<a href="https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;redirect_uri=urn:ietf:wg:oauth:2.0:oob&amp;response_type=code&amp;client_id=39623646228-eg3ggo3mk6o40m7rguobi3rkl9frh4tb.apps.googleusercontent.com" target="_blank" class="oe_link"><b>Generate Authorization Code</b></a>
</group>
</group>
- </page>
- </xpath>
- </field>
- </record>
- <record id="view_users_gogole_preference" model="ir.ui.view">
- <field name="name">res.users.google.form2</field>
- <field name="model">res.users</field>
- <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
- <field name="arch" type="xml">
- <xpath expr="//group[@name='preferences']" position="after">
- <group string="Google Account" attrs="{'invisible': [('id', '!=', 1)]}">
- <field name="authorization_code" on_change="onchange_authorization_code(authorization_code)"/>
- <a href="https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;redirect_uri=urn:ietf:wg:oauth:2.0:oob&amp;response_type=code&amp;client_id=39623646228-eg3ggo3mk6o40m7rguobi3rkl9frh4tb.apps.googleusercontent.com" target="_blank" class="oe_link"><b>Generate Authorization Code</b></a>
- </group>
+ </div>
</xpath>
</field>
</record>