[I18N] project: make label_tasks translatable

This commit is contained in:
Martin Trigaux
2018-09-24 15:45:55 +02:00
parent 949381680f
commit 6ce2354d68
+2 -1
View File
@@ -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',