From 11e4cad9f7ac84fe63054cb5e4d9d4a0c041fdfb Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Mon, 11 Aug 2014 13:21:29 -0400 Subject: [PATCH] [IMP] auth_oauth: set default 'zocial' css_class The buttons for new providers needs at least the zocial css class to be seen as button. As the field css_class is not in the default form view, add it by default. --- addons/auth_oauth/auth_oauth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/auth_oauth/auth_oauth.py b/addons/auth_oauth/auth_oauth.py index 34b6aa44936..f9fb206f51e 100644 --- a/addons/auth_oauth/auth_oauth.py +++ b/addons/auth_oauth/auth_oauth.py @@ -21,4 +21,5 @@ class auth_oauth_provider(osv.osv): } _defaults = { 'enabled' : False, + 'css_class' : "zocial", }