Odoo modules related to surveys
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.

12 lines
748 B

from odoo import models, fields
class SurveySurvey(models.Model):
_inherit = 'survey.survey'
start_btn_label = fields.Char(string="Start button label", translate=True, track_visibility='onchange',
help="This label will be used in the survey start button. If empty, the label will be \"Start survey\".")
submit_btn_label = fields.Char(string="Submit button label", translate=True, track_visibility='onchange',
help="This label will be used in the survey submit button. If empty, the label will be \"Submit survey\".")
thank_you_title = fields.Char(string="Thank you page title", translate=True,
help="This title will be used in the survey \"Thank you\" page. If empty, the label will be \"Thank you !\".")