diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-09-07 13:50:37 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-09-07 15:10:11 +0000 |
| commit | 4214f05d454bca2b60fda3a288d529c098e84f77 (patch) | |
| tree | a585c4c32b1e41d4ce7451594c941e0540c34b8d /addons/resource | |
| parent | 0e12fa135882cd5095dbf15fe2f64231c6a84336 (diff) | |
[FIX] *: typos and english incoherences
Mainly transifex issues but also some errors found through 'grep' checks.
Fix typos and obscure english strings in xml contents, fields strings/helps, some docstrings, ...
ensuring correct translations base (and fallback when translations isn't available).
closes odoo/odoo#57206
Related: odoo/enterprise#13032
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/resource')
| -rw-r--r-- | addons/resource/i18n/resource.pot | 2 | ||||
| -rw-r--r-- | addons/resource/models/resource.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/resource/i18n/resource.pot b/addons/resource/i18n/resource.pot index 7c75a51b6db..c3b7a044917 100644 --- a/addons/resource/i18n/resource.pot +++ b/addons/resource/i18n/resource.pot @@ -547,7 +547,7 @@ msgstr "" #. module: resource #: model:ir.model.fields,help:resource.field_resource_resource__time_efficiency msgid "" -"This field is used to calculate the the expected duration of a work order at" +"This field is used to calculate the expected duration of a work order at" " this work center. For example, if a work order takes one hour and the " "efficiency factor is 100%, then the expected duration will be one hour. If " "the efficiency factor is 200%, however the expected duration will be 30 " diff --git a/addons/resource/models/resource.py b/addons/resource/models/resource.py index 1f8ab1d23c7..51edc52d8a7 100644 --- a/addons/resource/models/resource.py +++ b/addons/resource/models/resource.py @@ -814,7 +814,7 @@ class ResourceResource(models.Model): user_id = fields.Many2one('res.users', string='User', help='Related user name for the resource to manage its access.') time_efficiency = fields.Float( 'Efficiency Factor', default=100, required=True, - help="This field is used to calculate the the expected duration of a work order at this work center. For example, if a work order takes one hour and the efficiency factor is 100%, then the expected duration will be one hour. If the efficiency factor is 200%, however the expected duration will be 30 minutes.") + help="This field is used to calculate the expected duration of a work order at this work center. For example, if a work order takes one hour and the efficiency factor is 100%, then the expected duration will be one hour. If the efficiency factor is 200%, however the expected duration will be 30 minutes.") calendar_id = fields.Many2one( "resource.calendar", string='Working Time', default=lambda self: self.env.company.resource_calendar_id, |
