[FIX] hr_contract: wrong model _description
_description of the `hr.payroll.structure.type` should be "Salary Structure Type" instead of "Contract Type" closes odoo/odoo#96653 X-original-commit: 49ecc72b2971edc57f85d4bea50901021b4f3f7b Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -235,11 +235,15 @@ msgid "Contract Start Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_contract
|
||||
#: model:ir.model,name:hr_contract.model_hr_contract_type
|
||||
#: model:ir.model,name:hr_contract.model_hr_payroll_structure_type
|
||||
#: model:ir.model.fields,field_description:hr_contract.field_hr_payroll_structure_type__name
|
||||
msgid "Salary Structure Type"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_contract
|
||||
#: model:ir.model,name:hr_contract.model_hr_contract_type
|
||||
#: model:ir.model.fields,field_description:hr_contract.field_hr_contract__contract_type_id
|
||||
#: model:ir.model.fields,field_description:hr_contract.field_hr_contract_history__contract_type_id
|
||||
#: model:ir.model.fields,field_description:hr_contract.field_hr_payroll_structure_type__name
|
||||
msgid "Contract Type"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -12,9 +12,9 @@ class ContractType(models.Model):
|
||||
|
||||
class HrPayrollStructureType(models.Model):
|
||||
_name = 'hr.payroll.structure.type'
|
||||
_description = 'Contract Type'
|
||||
_description = 'Salary Structure Type'
|
||||
|
||||
name = fields.Char('Contract Type')
|
||||
name = fields.Char('Salary Structure Type')
|
||||
default_resource_calendar_id = fields.Many2one(
|
||||
'resource.calendar', 'Default Working Hours',
|
||||
default=lambda self: self.env.company.resource_calendar_id)
|
||||
|
||||
Reference in New Issue
Block a user