diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-09-24 15:45:25 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-24 15:45:55 +0200 |
| commit | 6ce2354d68c3f68eda069e6b2ecebf175bb08459 (patch) | |
| tree | 9fb4ddc855799239c304e4a470f3b129b88fab1a /addons | |
| parent | 949381680f2ea365e46c188921e7251d413b3f66 (diff) | |
[I18N] project: make label_tasks translatable
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/project/models/project.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/project/models/project.py b/addons/project/models/project.py index a4bbd7928e3..4997281ba6f 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -186,7 +186,8 @@ class Project(models.Model): string='Members') is_favorite = fields.Boolean(compute='_compute_is_favorite', inverse='_inverse_is_favorite', string='Show Project on dashboard', help="Whether this project should be displayed on the dashboard or not") - label_tasks = fields.Char(string='Use Tasks as', default='Tasks', help="Gives label to tasks on project's kanban view.") + label_tasks = fields.Char(string='Use Tasks as', default='Tasks', translate=True, + help="Gives label to tasks on project's kanban view.") tasks = fields.One2many('project.task', 'project_id', string="Task Activities") resource_calendar_id = fields.Many2one( 'resource.calendar', string='Working Time', |
