diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-08-18 18:49:32 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-08-18 18:49:32 +0200 |
| commit | 297cff0449ddb7b7bdcbbe2bd7c8b80c5cb00a35 (patch) | |
| tree | bc87a329ecff353cf2aad001e984a9e20a924911 /addons/auth_oauth/res_config.xml | |
| parent | 6cce0bd9fc7d54602c551213429e151b53963397 (diff) | |
| parent | 4f76c4e8d9fecca6ffc091f13c40ac3eadcc742d (diff) | |
[MERGE] auth_config
bzr revid: al@openerp.com-20120818164932-tt7mpm1p5k3i5unu
Diffstat (limited to 'addons/auth_oauth/res_config.xml')
| -rw-r--r-- | addons/auth_oauth/res_config.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/addons/auth_oauth/res_config.xml b/addons/auth_oauth/res_config.xml new file mode 100644 index 00000000000..2b06e05327a --- /dev/null +++ b/addons/auth_oauth/res_config.xml @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<openerp> + <data> + <record model="ir.ui.view" id="view_general_configuration"> + <field name="name">base.config.settings.oauth</field> + <field name="model">base.config.settings</field> + <field name="inherit_id" ref="base_setup.view_general_configuration"/> + <field name="arch" type="xml"> + <xpath expr="//field[@name='module_auth_oauth']/.." position="after"> + <div attrs="{'invisible':[('module_auth_oauth','=',False)]}"> + <div name="google"> + <div> + <field name="auth_oauth_google_enabled" class="oe_inline"/> + <label for="auth_oauth_google_enabled"/> + </div> + <div attrs="{'invisible':[('auth_oauth_google_enabled','=',False)]}"> + <blockquote> + To setup the signin process with Google, first you have to perform the following steps:<br/> + <br/> + - Go to the <a href="https://code.google.com/apis/console/">Google APIs console</a><br/> + - Ceate a new project<br/> + - Go to Api Access<br/> + - Create an oauth client_id<br/> + - Edit settings and set both Authorized Redirect URIs and Authorized JavaScript Origins to your hostname.<br/> + <br/> + Now copy paste the client_id here: <field name="auth_oauth_google_client_id" class="oe_inline" placeholder="e.g. 1234-xyz.apps.googleusercontent.com"/> + </blockquote> + </div> + </div> + <div name="facebook"> + <div> + <field name="auth_oauth_facebook_enabled" class="oe_inline"/> + <label for="auth_oauth_facebook_enabled"/> + </div> + <div attrs="{'invisible':[('auth_oauth_facebook_enabled','=',False)]}"> + <blockquote> + To setup the signin process with Google, first you have to perform the following steps:<br/> + <br/> + Now copy paste the client_id here: <field name="auth_oauth_facebook_client_id" class="oe_inline" placeholder="e.g. 1234-xyz.apps.googleusercontent.com"/> + </blockquote> + + </div> + </div> + </div> + </xpath> + </field> + </record> + + </data> +</openerp> |
