addons/hr_skills_survey/models/survey_survey.py
raw| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | |
| 3 | from odoo import fields, models |
| 4 | |
| 5 | |
| 6 | class SurveySurvey(models.Model): |
| 7 | _inherit = 'survey.survey' |
| 8 | |
| 9 | certification_validity_months = fields.Integer( |
| 10 | 'Validity', required=False, |
| 11 | help='Specify the number of months the certification is valid after being awarded. ' |
| 12 | 'Enter 0 for certifications that never expire.') |