summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/models/auth_oauth.py
diff options
context:
space:
mode:
authorAndreas Perhab <andreas.perhab@wt-io-it.at>2019-10-10 15:44:28 +0000
committerfw-bot <otis@odoo.com>2019-10-11 11:38:20 +0000
commitfd51030c4348dc820d7dd61006ee9b2576655c0f (patch)
tree90971c4328dcea8abf213b89335d56f3330cb31e /addons/auth_oauth/models/auth_oauth.py
parent6b5e3636bfec98ae52f9b942b7b508909a2d9bb3 (diff)
[FIX] auth_oauth: enable translation of link text for oauth providers
closes odoo/odoo#38494 X-original-commit: 1e012dda76601437659b640b389fe2b73b6cbb3b Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/auth_oauth/models/auth_oauth.py')
-rw-r--r--addons/auth_oauth/models/auth_oauth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_oauth/models/auth_oauth.py b/addons/auth_oauth/models/auth_oauth.py
index 2dbea1f85ec..ae74510e4ad 100644
--- a/addons/auth_oauth/models/auth_oauth.py
+++ b/addons/auth_oauth/models/auth_oauth.py
@@ -19,5 +19,5 @@ class AuthOAuthProvider(models.Model):
data_endpoint = fields.Char(string='Data URL')
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)
+ body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
sequence = fields.Integer()