mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 04:12:04 +02:00
14 lines
318 B
Python
14 lines
318 B
Python
# Copyright 2021 Creu Blanca
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class HrCourse(models.Model):
|
|
|
|
_inherit = "hr.course"
|
|
|
|
examination_survey_id = fields.Many2one(
|
|
"survey.survey",
|
|
domain=[("scoring_type", "!=", "no_scoring")],
|
|
)
|