diff --git a/addons/auth_oauth/models/auth_oauth.py b/addons/auth_oauth/models/auth_oauth.py
index ae74510e4ad..bdecce9bd02 100644
--- a/addons/auth_oauth/models/auth_oauth.py
+++ b/addons/auth_oauth/models/auth_oauth.py
@@ -9,7 +9,7 @@ class AuthOAuthProvider(models.Model):
_name = 'auth.oauth.provider'
_description = 'OAuth2 provider'
- _order = 'name'
+ _order = 'sequence, name'
name = fields.Char(string='Provider name', required=True) # Name of the OAuth2 entity, Google, etc
client_id = fields.Char(string='Client ID') # Our identifier
@@ -20,4 +20,4 @@ class AuthOAuthProvider(models.Model):
enabled = fields.Boolean(string='Allowed')
css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary')
body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
- sequence = fields.Integer()
+ sequence = fields.Integer(default=10)
diff --git a/addons/auth_oauth/views/auth_oauth_views.xml b/addons/auth_oauth/views/auth_oauth_views.xml
index 01767f7e3d3..1d9fecdc162 100644
--- a/addons/auth_oauth/views/auth_oauth_views.xml
+++ b/addons/auth_oauth/views/auth_oauth_views.xml
@@ -28,6 +28,7 @@
auth.oauth.provider
+