[FIX] project: default value should be translatable
This commit is contained in:
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server saas~11.5\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-09-21 13:16+0000\n"
|
||||
"PO-Revision-Date: 2018-09-21 13:16+0000\n"
|
||||
"POT-Creation-Date: 2018-09-24 14:20+0000\n"
|
||||
"PO-Revision-Date: 2018-09-24 14:20+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -1566,7 +1566,7 @@ msgstr ""
|
||||
|
||||
#. module: project
|
||||
#: model_terms:ir.ui.view,arch_db:project.rating_index
|
||||
msgid "No project rating puslished for now."
|
||||
msgid "No project rating published for now."
|
||||
msgstr ""
|
||||
|
||||
#. module: project
|
||||
@@ -2415,6 +2415,7 @@ msgid "Task ready for Next Stage"
|
||||
msgstr ""
|
||||
|
||||
#. module: project
|
||||
#: code:addons/project/models/project.py:189
|
||||
#: model:ir.actions.act_window,name:project.act_project_project_2_project_task_all
|
||||
#: model:ir.actions.act_window,name:project.action_view_task
|
||||
#: model:ir.actions.act_window,name:project.project_task_action_from_partner
|
||||
@@ -2429,6 +2430,8 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:project.view_task_partner_info_form
|
||||
#: model_terms:ir.ui.view,arch_db:project.view_task_search_form
|
||||
#: model_terms:ir.ui.view,arch_db:project.view_task_tree2
|
||||
#: model:project.project,label_tasks:project.project_project_data
|
||||
#, python-format
|
||||
msgid "Tasks"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ 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', translate=True,
|
||||
label_tasks = fields.Char(string='Use Tasks as', default=lambda s: _('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(
|
||||
|
||||
Reference in New Issue
Block a user