summaryrefslogtreecommitdiff
path: root/addons/resource
diff options
context:
space:
mode:
Diffstat (limited to 'addons/resource')
-rw-r--r--addons/resource/i18n/resource.pot2
-rw-r--r--addons/resource/models/resource.py2
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,