Files
enterprise-addons/hr_appraisal_survey/models/hr_appraisal_template.py
T

13 lines
443 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class HrAppraisalTemplate(models.Model):
_inherit = 'hr.appraisal.template'
survey_template_ids = fields.Many2many('survey.survey', string='360 Feedback Survey',
domain=[('survey_type', '=', 'appraisal')],
help='The survey templates available to choose from for the appraisals that use this template.'
)