diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-09-20 17:33:22 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-09-20 17:34:45 +0200 |
| commit | 64e43808b79badb5869a8d73cc1cc3f3b3aa8e12 (patch) | |
| tree | 9a22d5f6c03073a4d10faedea8df23a5211e8b8f /addons/project/models/project.py | |
| parent | 944891ced081cda3b8b3db5faf3b7ac23b6b4ce8 (diff) | |
| parent | 58a83d12228fbbd4e9dde542e133d264204ee0f3 (diff) | |
[MERGE] forward port branch saas-12.5 up to 58a83d12228
Diffstat (limited to 'addons/project/models/project.py')
| -rw-r--r-- | addons/project/models/project.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 3061f241984..9629d9c7d5a 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -195,16 +195,16 @@ class Project(models.Model): help="Internal email associated with this project. Incoming emails are automatically synchronized " "with Tasks (or optionally Issues if the Issue Tracker module is installed).") privacy_visibility = fields.Selection([ - ('followers', 'Visible by invited employees'), - ('employees', 'Visible by employees'), - ('portal', 'Visible by portal users and employees'), + ('followers', 'Invited employees'), + ('employees', 'All employees'), + ('portal', 'Portal users and all employees'), ], - string='Privacy', required=True, + string='Visibility', required=True, default='portal', help="Defines the visibility of the tasks of the project:\n" - "- Visible by invited employees: employees may only see the followed project and tasks.\n" - "- Visible by employees: employees may see all project and tasks.\n" - "- Visible by portal users and employees: employees may see everything." + "- 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" " them or by someone of their company.") doc_count = fields.Integer(compute='_compute_attached_docs_count', string="Number of documents attached") @@ -645,7 +645,7 @@ class Task(models.Model): for task in self: if task.project_id: if task.project_id.company_id != task.company_id: - raise ValidationError(_('Your task must beo in the same company as its project.')) + raise ValidationError(_('Your task must be in the same company as its project.')) @api.returns('self', lambda value: value.id) def copy(self, default=None): |
