diff options
| author | Yenthe666 <yenthevg@gmail.com> | 2019-07-26 13:53:24 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-30 11:37:07 +0000 |
| commit | faec20239c04461185a79913dbd292fd9b03948b (patch) | |
| tree | cee7fb8db327f09baa12a88b900302b8ceb1ce71 | |
| parent | f247475cdd3f159c5f3ba3c12b927edca091d4b3 (diff) | |
[IMP] project,_timesheet_holidays: improve source terms
closes odoo/odoo#35227
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
| -rw-r--r-- | addons/project/static/src/js/project_task_kanban_examples.js | 4 | ||||
| -rw-r--r-- | addons/project_timesheet_holidays/models/hr_holidays.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/addons/project/static/src/js/project_task_kanban_examples.js b/addons/project/static/src/js/project_task_kanban_examples.js index 390be680d84..d36b41aaa6c 100644 --- a/addons/project/static/src/js/project_task_kanban_examples.js +++ b/addons/project/static/src/js/project_task_kanban_examples.js @@ -67,12 +67,12 @@ kanbanExamplesRegistry.add('project', { }, { name: _t('Research Project'), columns: [_t('Brainstorm'), _t('Research'), _t('Draft'), _t('Final Document')], - description: escFormat(_t('Handle your idea gahtering within Tasks of your new Project and discuss them in the chatter of the tasks. Use the %s and %s to signalize what is the current status of your Idea'), greenBullet, redBullet), + description: escFormat(_t('Handle your idea gathering within Tasks of your new Project and discuss them in the chatter of the tasks. Use the %s and %s to signalize what is the current status of your Idea'), greenBullet, redBullet), bullets: [greenBullet, redBullet], }, { name: _t('Website Redesign'), columns: [_t('Page Ideas'), _t('Copywriting'), _t('Design'), _t('Live')], - description: escFormat(_t('Handle your idea gahtering within Tasks of your new Project and discuss them in the chatter of the tasks. Use the %s and %s to signalize what is the current status of your Idea'), greenBullet, redBullet), + description: escFormat(_t('Handle your idea gathering within Tasks of your new Project and discuss them in the chatter of the tasks. Use the %s and %s to signalize what is the current status of your Idea'), greenBullet, redBullet), }, { name: _t('T-shirt Printing'), columns: [_t('New Orders'), _t('Logo Design'), _t('To Print'), _t('Done')], diff --git a/addons/project_timesheet_holidays/models/hr_holidays.py b/addons/project_timesheet_holidays/models/hr_holidays.py index 59c1eb17bef..b8b78758c2b 100644 --- a/addons/project_timesheet_holidays/models/hr_holidays.py +++ b/addons/project_timesheet_holidays/models/hr_holidays.py @@ -45,9 +45,9 @@ class HolidaysType(models.Model): for holiday_status in self: if holiday_status.timesheet_generate: if not holiday_status.timesheet_project_id or not holiday_status.timesheet_task_id: - raise ValidationError(_('Both the internal project and task are required to\ - generate timesheet for the time of. If you don\'t want timesheet, you must let\ - empty internal project and task.')) + raise ValidationError(_("Both the internal project and task are required to " + "generate a timesheet for the time off. If you don't want a timesheet, you should " + "leave the internal project and task empty.")) class Holidays(models.Model): |
