diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-11-27 13:42:36 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-11-27 15:42:35 +0000 |
| commit | 9b3b2e8d711e3be75b1faffaf6f4f8f4ec90186e (patch) | |
| tree | bbbdb1866672d29aa7eb496e56344a387c3ea00f /addons/rating | |
| parent | e5bec425c7dc06d5c853b49f84c1fca19fd71d98 (diff) | |
[FIX] *: rephrase, correct typos
Courtesy of Transifex's translators for reporting bad/unclear sentences.
closes odoo/odoo#62539
Related: odoo/enterprise#15032
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/rating')
| -rw-r--r-- | addons/rating/i18n/rating.pot | 8 | ||||
| -rw-r--r-- | addons/rating/models/rating.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/addons/rating/i18n/rating.pot b/addons/rating/i18n/rating.pot index c090936d3b4..bd2b0520103 100644 --- a/addons/rating/i18n/rating.pot +++ b/addons/rating/i18n/rating.pot @@ -4,10 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server saas~13.5\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-09-01 07:29+0000\n" -"PO-Revision-Date: 2020-09-01 07:29+0000\n" +"POT-Creation-Date: 2020-11-27 11:24+0000\n" +"PO-Revision-Date: 2020-11-27 11:24+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -295,7 +295,7 @@ msgstr "" #. module: rating #: model:ir.model.constraint,message:rating.constraint_rating_rating_rating_range -msgid "Rating should be between 0 to 5" +msgid "Rating should be between 0 and 5" msgstr "" #. module: rating diff --git a/addons/rating/models/rating.py b/addons/rating/models/rating.py index 3d3ed658c29..c28e19d5890 100644 --- a/addons/rating/models/rating.py +++ b/addons/rating/models/rating.py @@ -18,7 +18,7 @@ class Rating(models.Model): _order = 'write_date desc' _rec_name = 'res_name' _sql_constraints = [ - ('rating_range', 'check(rating >= 0 and rating <= 5)', 'Rating should be between 0 to 5'), + ('rating_range', 'check(rating >= 0 and rating <= 5)', 'Rating should be between 0 and 5'), ] @api.depends('res_model', 'res_id') |
