[FIX] maintenance: translate team name
If the name of a crm.team is translated, why not the one of a maintenance.team opw-805838
This commit is contained in:
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-11-30 13:12+0000\n"
|
||||
"PO-Revision-Date: 2017-11-30 13:12+0000\n"
|
||||
"POT-Creation-Date: 2018-01-30 13:41+0000\n"
|
||||
"PO-Revision-Date: 2018-01-30 13:41+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -471,6 +471,11 @@ msgstr ""
|
||||
msgid "In Progress"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:maintenance.team,name:maintenance.equipment_team_maintenance
|
||||
msgid "Internal Maintenance"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:ir.ui.view,arch_db:maintenance.hr_equipment_request_view_form
|
||||
msgid "Internal Note ......."
|
||||
@@ -631,6 +636,11 @@ msgstr ""
|
||||
msgid "Maintenance: generate preventive maintenance requests"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:maintenance.team,name:maintenance.equipment_team_metrology
|
||||
msgid "Metrology"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:ir.model.fields,field_description:maintenance.field_maintenance_equipment_model
|
||||
msgid "Model"
|
||||
@@ -965,6 +975,11 @@ msgstr ""
|
||||
msgid "Status changed"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:maintenance.team,name:maintenance.equipment_team_subcontractor
|
||||
msgid "Subcontractor"
|
||||
msgstr ""
|
||||
|
||||
#. module: maintenance
|
||||
#: model:ir.model.fields,field_description:maintenance.field_maintenance_request_name
|
||||
msgid "Subjects"
|
||||
|
||||
@@ -368,7 +368,7 @@ class MaintenanceTeam(models.Model):
|
||||
_name = 'maintenance.team'
|
||||
_description = 'Maintenance Teams'
|
||||
|
||||
name = fields.Char(required=True)
|
||||
name = fields.Char(required=True, translate=True)
|
||||
member_ids = fields.Many2many('res.users', 'maintenance_team_users_rel', string="Team Members")
|
||||
color = fields.Integer("Color Index", default=0)
|
||||
request_ids = fields.One2many('maintenance.request', 'maintenance_team_id', copy=False)
|
||||
|
||||
Reference in New Issue
Block a user