diff options
| author | Benjamin Stiens <bst@odoo.com> | 2018-02-21 16:53:37 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-05-28 16:45:48 +0200 |
| commit | 6383120f3b67ea16d5f0d6cc47ea7b4dbd11e1f4 (patch) | |
| tree | 0059d5d14169ee0d598e44b456722acc447149d1 /addons/google_drive/models | |
| parent | c9735c75d61e6792ae32d64a35122dc4664f7cf4 (diff) | |
[IMP] all: Improve error messages
Many error messages are misleading or too "vague"
This task aims to improve all error message.
Task #47042
PR #23321
Diffstat (limited to 'addons/google_drive/models')
| -rw-r--r-- | addons/google_drive/models/google_drive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_drive/models/google_drive.py b/addons/google_drive/models/google_drive.py index cf5e8c55345..f65616c31d4 100644 --- a/addons/google_drive/models/google_drive.py +++ b/addons/google_drive/models/google_drive.py @@ -39,7 +39,7 @@ class GoogleDrive(models.Model): try: name_gdocs = name_gdocs % record except: - raise UserError(_("At least one key cannot be found in your Google Drive name pattern")) + raise UserError(_("At least one key cannot be found in your Google Drive name pattern.")) attachments = self.env["ir.attachment"].search([('res_model', '=', model.model), ('name', '=', name_gdocs), ('res_id', '=', res_id)]) url = False |
