diff --git a/employee_background/models/employee_verification.py b/employee_background/models/employee_verification.py index 46da5971..cb187727 100644 --- a/employee_background/models/employee_verification.py +++ b/employee_background/models/employee_verification.py @@ -8,6 +8,7 @@ class EmployeeVerification(models.Model): _name = 'employee.verification' + _description = 'Employee Verification' _rec_name = 'verification_id' verification_id = fields.Char('ID', readonly=True, copy=False, help="Verification Id") diff --git a/employee_background/models/xls_template.py b/employee_background/models/xls_template.py index 22596248..0668be18 100644 --- a/employee_background/models/xls_template.py +++ b/employee_background/models/xls_template.py @@ -5,6 +5,7 @@ class DefaultTemplateXls(models.AbstractModel): _name = 'report.employee_background.default_verification_details' + _description = 'Report DefaultTemplateXls' # _inherit = 'report.report_xlsx.abstract' _logger = logging.getLogger(__name__) diff --git a/history_employee/models/history.py b/history_employee/models/history.py index 3e02c5c6..67e0d0d6 100644 --- a/history_employee/models/history.py +++ b/history_employee/models/history.py @@ -190,6 +190,7 @@ def onchange_dateend(self): class DepartmentHistory(models.Model): _name = 'department.history' + _description = 'Department History' employee_id = fields.Char(string='Employee Id', help="Employee") employee_name = fields.Char(string='Employee Name', help="Name") @@ -200,6 +201,7 @@ class DepartmentHistory(models.Model): class TimesheetCost(models.Model): _name = 'timesheet.cost' + _description = 'Timesheet Cost' employee_id = fields.Char(string='Employee Id', help="Employee") employee_name = fields.Char(string='Employee Name', help="Name") @@ -209,6 +211,7 @@ class TimesheetCost(models.Model): class SalaryHistory(models.Model): _name = 'salary.history' + _description = 'Salary History' employee_id = fields.Char(string='Employee Id', help="Employee") employee_name = fields.Char(string='Employee Name', help="Name") @@ -218,6 +221,7 @@ class SalaryHistory(models.Model): class ContractHistory(models.Model): _name = 'contract.history' + _description = 'Contract History' employee_id = fields.Char(string='Employee Id', help="Employee") employee_name = fields.Char(string='Employee Name', help="Name") diff --git a/hr_company_policy/models/res_company.py b/hr_company_policy/models/res_company.py index a5e2f1d5..6c9f4047 100644 --- a/hr_company_policy/models/res_company.py +++ b/hr_company_policy/models/res_company.py @@ -33,6 +33,7 @@ class CompanyPolicy(models.Model): class PolicyWizard(models.TransientModel): _name = 'res.company.policy' + _description = 'Policy Wizard' company_id = fields.Many2one('res.company', help="Company") policy_info = fields.Html(related='company_id.company_info') diff --git a/hr_custody/models/wizard_reason.py b/hr_custody/models/wizard_reason.py index b3f322a4..e8d4b5b2 100644 --- a/hr_custody/models/wizard_reason.py +++ b/hr_custody/models/wizard_reason.py @@ -7,6 +7,7 @@ class WizardReason(models.TransientModel): Hr custody contract refuse wizard. """ _name = 'wizard.reason' + _description = 'Custody Reason' def send_reason(self): context = self._context diff --git a/hr_employee_shift/models/hr_employee_contract.py b/hr_employee_shift/models/hr_employee_contract.py index de0b8965..aaa2ef5b 100644 --- a/hr_employee_shift/models/hr_employee_contract.py +++ b/hr_employee_shift/models/hr_employee_contract.py @@ -14,6 +14,7 @@ class HrEmployeeContract(models.Model): class HrSchedule(models.Model): _name = 'hr.shift.schedule' + _description = 'HR Schedule' start_date = fields.Date(string="Date From", required=True, help="Starting date for the shift") end_date = fields.Date(string="Date To", required=True, help="Ending date for the shift") diff --git a/hr_employee_shift/models/hr_generate_shift.py b/hr_employee_shift/models/hr_generate_shift.py index 5e048e42..4789afa9 100644 --- a/hr_employee_shift/models/hr_generate_shift.py +++ b/hr_employee_shift/models/hr_generate_shift.py @@ -4,6 +4,7 @@ class HrGenerateShift(models.Model): _name = 'hr.shift.generate' + _description = 'HR Generate Shift' hr_department = fields.Many2one('hr.department', string="Department", help="Department") start_date = fields.Date(string="Start Date", required=True, help="Start date") diff --git a/hr_employee_updation/models/hr_employee.py b/hr_employee_updation/models/hr_employee.py index 17a0185e..66984541 100755 --- a/hr_employee_updation/models/hr_employee.py +++ b/hr_employee_updation/models/hr_employee.py @@ -119,5 +119,6 @@ class EmployeeRelationInfo(models.Model): """Table for keep employee family information""" _name = 'hr.employee.relation' + _description = 'Employee Relation Info' name = fields.Char(string="Relationship", help="Relationship with thw employee") diff --git a/hr_gratuity_settlement/models/other_settlements.py b/hr_gratuity_settlement/models/other_settlements.py index b399f98b..e43b1a6e 100755 --- a/hr_gratuity_settlement/models/other_settlements.py +++ b/hr_gratuity_settlement/models/other_settlements.py @@ -113,6 +113,7 @@ def draft_function(self): class SettlementReason(models.Model): _name = 'settlement.reason' + _description = 'Settlement Reason' _rec_name = 'settlement_reason' diff --git a/hr_insurance/models/policy_details.py b/hr_insurance/models/policy_details.py index b0102b92..33c53231 100644 --- a/hr_insurance/models/policy_details.py +++ b/hr_insurance/models/policy_details.py @@ -5,6 +5,7 @@ class InsurancePolicy(models.Model): _name = 'insurance.policy' + _description = 'Insurance Policy' name = fields.Char(string='Name', required=True) note_field = fields.Html(string='Comment', help="Notes for the insurance policy if any") diff --git a/hr_reminder/models/hr_reminder.py b/hr_reminder/models/hr_reminder.py index fa8b0077..0e7234b8 100755 --- a/hr_reminder/models/hr_reminder.py +++ b/hr_reminder/models/hr_reminder.py @@ -5,6 +5,7 @@ class HrPopupReminder(models.Model): _name = 'hr.reminder' + _description = 'HR Popup Reminder' name = fields.Char(string='Title', required=True) model_name = fields.Many2one('ir.model', help="Choose the model name", string="Model", required=True, ondelete='cascade', domain="[('model', 'like','hr')]") diff --git a/hr_resignation/models/hr_resignation.py b/hr_resignation/models/hr_resignation.py index d31a4912..61340bd3 100755 --- a/hr_resignation/models/hr_resignation.py +++ b/hr_resignation/models/hr_resignation.py @@ -11,6 +11,7 @@ class HrResignation(models.Model): _name = 'hr.resignation' + _description = 'HR Resignation' _inherit = 'mail.thread' _rec_name = 'employee_id' diff --git a/hr_vacation_mngmt/models/hr_employee_ticket.py b/hr_vacation_mngmt/models/hr_employee_ticket.py index 67041be3..0459fd69 100644 --- a/hr_vacation_mngmt/models/hr_employee_ticket.py +++ b/hr_vacation_mngmt/models/hr_employee_ticket.py @@ -7,6 +7,7 @@ class HrFlightTicket(models.Model): _name = 'hr.flight.ticket' + _description = 'HR Flight Ticket' name = fields.Char() employee_id = fields.Many2one('hr.leave', string='Employee', required=True, help="Employee") diff --git a/hr_vacation_mngmt/models/hr_vacation.py b/hr_vacation_mngmt/models/hr_vacation.py index e9f1a464..93229360 100644 --- a/hr_vacation_mngmt/models/hr_vacation.py +++ b/hr_vacation_mngmt/models/hr_vacation.py @@ -138,6 +138,7 @@ def send_leave_reminder(self): class PendingTask(models.Model): _name = 'pending.task' + _description = 'Pending Task' name = fields.Char(string='Task', required=True) leave_id = fields.Many2one('hr.leave', string='Leave Request', help="Leave request") diff --git a/hr_vacation_mngmt/wizard/reassign_task.py b/hr_vacation_mngmt/wizard/reassign_task.py index e230c976..a5b3441c 100644 --- a/hr_vacation_mngmt/wizard/reassign_task.py +++ b/hr_vacation_mngmt/wizard/reassign_task.py @@ -6,6 +6,7 @@ class ReAssignTask(models.TransientModel): _name = 'task.reassign' + _description = 'ReAssign Task' pending_tasks = fields.One2many('pending.task', related='leave_req_id.pending_tasks', string='Pending Tasks', readonly=False) leave_req_id = fields.Many2one('hr.leave', string='Leave Request') diff --git a/hrms_dashboard/report/broadfactor.py b/hrms_dashboard/report/broadfactor.py index dfda9d33..8d15a461 100644 --- a/hrms_dashboard/report/broadfactor.py +++ b/hrms_dashboard/report/broadfactor.py @@ -36,6 +36,7 @@ def init(self): class ReportOverdue(models.AbstractModel): _name = 'report.hrms_dashboard.report_broadfactor' + _description = 'Report Overdue' @api.model def get_report_values(self, docids=None, data=None): diff --git a/oh_employee_documents_expiry/models/document_type.py b/oh_employee_documents_expiry/models/document_type.py index d56da3d6..a4f2efc3 100755 --- a/oh_employee_documents_expiry/models/document_type.py +++ b/oh_employee_documents_expiry/models/document_type.py @@ -6,5 +6,6 @@ class DocumentType(models.Model): _name = 'document.type' + _description = 'Document Type' name = fields.Char(string="Name", required=True, help="Name") diff --git a/oh_hr_zk_attendance/models/machine_analysis.py b/oh_hr_zk_attendance/models/machine_analysis.py index 06da9c71..3366dad9 100644 --- a/oh_hr_zk_attendance/models/machine_analysis.py +++ b/oh_hr_zk_attendance/models/machine_analysis.py @@ -12,6 +12,7 @@ class HrEmployee(models.Model): class ZkMachine(models.Model): _name = 'zk.machine.attendance' + _description = 'ZK Machine Attendance' _inherit = 'hr.attendance' @api.constrains('check_in', 'check_out', 'employee_id') @@ -39,6 +40,7 @@ def _check_validity(self): class ReportZkDevice(models.Model): _name = 'zk.report.daily.attendance' + _description = 'Report ZK Device' _auto = False _order = 'punching_day desc' diff --git a/oh_hr_zk_attendance/models/zk_machine.py b/oh_hr_zk_attendance/models/zk_machine.py index 67476258..a7f48f59 100644 --- a/oh_hr_zk_attendance/models/zk_machine.py +++ b/oh_hr_zk_attendance/models/zk_machine.py @@ -49,6 +49,7 @@ class HrAttendance(models.Model): class ZkMachine(models.Model): _name = 'zk.machine' + _description = 'ZK Machine' name = fields.Char(string='Machine IP', required=True) port_no = fields.Integer(string='Port No', required=True) diff --git a/ohrms_holidays_approval/models/leave_request.py b/ohrms_holidays_approval/models/leave_request.py index 31c92d12..61b0ca43 100644 --- a/ohrms_holidays_approval/models/leave_request.py +++ b/ohrms_holidays_approval/models/leave_request.py @@ -206,6 +206,7 @@ def enable_multi_level_validation(self): class HrLeaveValidators(models.Model): """ Model for leave validators in Leave Types configuration """ _name = 'hr.holidays.validators' + _description = 'HR Leave Validators' hr_holiday_status = fields.Many2one('hr.leave.type') @@ -218,6 +219,7 @@ class HrLeaveValidators(models.Model): class LeaveValidationStatus(models.Model): """ Model for leave validators and their status for each leave request """ _name = 'leave.validation.status' + _description = 'Leave Validation Status' holiday_status = fields.Many2one('hr.leave') diff --git a/ohrms_salary_advance/models/salary_advance.py b/ohrms_salary_advance/models/salary_advance.py index a19930c0..8ead2dc6 100755 --- a/ohrms_salary_advance/models/salary_advance.py +++ b/ohrms_salary_advance/models/salary_advance.py @@ -8,6 +8,7 @@ class SalaryAdvancePayment(models.Model): _name = "salary.advance" + _description = 'Salary Advance Payment' _inherit = ['mail.thread', 'mail.activity.mixin'] name = fields.Char(string='Name', readonly=True, default=lambda self: 'Adv/') diff --git a/uae_wps_report/wizard/wizard.py b/uae_wps_report/wizard/wizard.py index 6921c991..eb489477 100755 --- a/uae_wps_report/wizard/wizard.py +++ b/uae_wps_report/wizard/wizard.py @@ -9,6 +9,7 @@ class Wizard(models.TransientModel): _name = 'wps.wizard' + _description = 'WPS Wizard' report_file = fields.Char() name = fields.Char(string="File Name")