You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
566 B
17 lines
566 B
from odoo import models, fields, api, _
|
|
from odoo.exceptions import UserError
|
|
|
|
|
|
class SurveySurvey(models.Model):
|
|
_inherit = "survey.survey"
|
|
|
|
description_done_pass = fields.Html(
|
|
string="Passed end message",
|
|
translate=True,
|
|
help="This message will be displayed when survey is completed and the user passed the test.",
|
|
)
|
|
description_done_fail = fields.Html(
|
|
string="Failed end message",
|
|
translate=True,
|
|
help="This message will be displayed when survey is completed and the user failed the test.",
|
|
)
|