diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-11-16 13:25:50 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-11-16 14:35:42 +0000 |
| commit | f5d0f4a1ebf406583889e9e04912d40c0693343e (patch) | |
| tree | 92b51fb6d6671b24c55f323689cb3fbb7a2f94ed /addons/project/models/project.py | |
| parent | bcb22aca37aa6f7301bc92fa3ae52f53d1044d97 (diff) | |
[FIX] *: rephrase, correct typos
Courtesy of Transifex's translators for reporting bad/unclear sentences.
closes odoo/odoo#61785
Related: odoo/enterprise#14751
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/project/models/project.py')
| -rw-r--r-- | addons/project/models/project.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 252debd704b..3c6cc80471a 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -201,10 +201,10 @@ class Project(models.Model): string='Visibility', required=True, default='portal', help="Defines the visibility of the tasks of the project:\n" - "- Invited employees: employees may only see the followed project and tasks.\n" - "- All employees: employees may see all project and tasks.\n" - "- Portal users and all employees: employees may see everything." - " Portal users may see project and tasks followed by.\n" + "- Invited internal users: employees may only see the followed project and tasks.\n" + "- All internal users: employees may see all project and tasks.\n" + "- Invited portal and all internal users: employees may see everything." + " Portal users may see project and tasks followed by\n" " them or by someone of their company.") allowed_user_ids = fields.Many2many('res.users', compute='_compute_allowed_users', inverse='_inverse_allowed_user') @@ -626,7 +626,7 @@ class Task(models.Model): parent_id = fields.Many2one('project.task', string='Parent Task', index=True) child_ids = fields.One2many('project.task', 'parent_id', string="Sub-tasks", context={'active_test': False}) subtask_project_id = fields.Many2one('project.project', related="project_id.subtask_project_id", string='Sub-task Project', readonly=True) - allow_subtasks = fields.Boolean('project.project', related="project_id.allow_subtasks", readonly=True) + allow_subtasks = fields.Boolean(string="Allow Sub-tasks", related="project_id.allow_subtasks", readonly=True) subtask_count = fields.Integer("Sub-task count", compute='_compute_subtask_count') email_from = fields.Char(string='Email From', help="These people will receive email.", index=True, compute='_compute_email_from', store="True", readonly=False) |
