diff --git a/survey_input_template_custom/models/survey_survey.py b/survey_input_template_custom/models/survey_survey.py index 5c4a5db..06c18eb 100644 --- a/survey_input_template_custom/models/survey_survey.py +++ b/survey_input_template_custom/models/survey_survey.py @@ -4,9 +4,9 @@ from odoo import models, fields class SurveySurvey(models.Model): _inherit = 'survey.survey' - start_btn_label = fields.Char(string="Start button label", track_visibility='onchange', + 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", track_visibility='onchange', + 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", + 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 !\".")