diff options
| author | Rajesh Prajapati (OpenERP) <rpr@tinyerp.com> | 2012-10-05 17:35:03 +0530 |
|---|---|---|
| committer | Rajesh Prajapati (OpenERP) <rpr@tinyerp.com> | 2012-10-05 17:35:03 +0530 |
| commit | cdff4611b0a588546afb9b706bbd2d0fbda7bf2f (patch) | |
| tree | 0a0a99b33e52547987ab69b2a29f3ec23c188142 /addons/auth_oauth/auth_oauth_data.yml | |
| parent | 7202b8f7efbc76e2a40b1a4a8d7a95ed0d2ce573 (diff) | |
| parent | ba97319054728490e4d8a601382dd6fd2ab4f970 (diff) | |
[MERGE] merge with main addons
bzr revid: rpr@tinyerp.com-20121005120503-07e0zo8ucv8k0q3s
Diffstat (limited to 'addons/auth_oauth/auth_oauth_data.yml')
| -rw-r--r-- | addons/auth_oauth/auth_oauth_data.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/auth_oauth/auth_oauth_data.yml b/addons/auth_oauth/auth_oauth_data.yml new file mode 100644 index 00000000000..af43811a560 --- /dev/null +++ b/addons/auth_oauth/auth_oauth_data.yml @@ -0,0 +1,6 @@ +- + Use database uuid as client_id for OpenERP oauth provider +- + !python {model: ir.config_parameter}: | + oauth = self.pool.get('auth.oauth.provider') + oauth.write(cr, uid, [ref('provider_openerp')], {'client_id': self.get_param(cr, uid, 'database.uuid')}) |
