diff --git a/survey_deadline_autoclose/i18n/fr.po b/survey_deadline_autoclose/i18n/fr.po index 4299891..eeb4df7 100644 --- a/survey_deadline_autoclose/i18n/fr.po +++ b/survey_deadline_autoclose/i18n/fr.po @@ -17,8 +17,8 @@ msgstr "" #. module: survey_deadline_autoclose #: model:ir.model.fields,field_description:survey_deadline_autoclose.field_survey_survey__auto_close -msgid "Auto close at deadline" -msgstr "Clôture automatique à l’échéance" +msgid "Auto close" +msgstr "Clôture automatique" #. module: survey_deadline_autoclose #: model:ir.actions.server,name:survey_deadline_autoclose.cron_close_expired_surveys_ir_actions_server @@ -72,4 +72,3 @@ msgstr "Ce sondage a été clôturé." #: model:mail.message.subtype,description:survey_deadline_autoclose.mail_message_subtype_survey_closed msgid "This survey was closed." msgstr "Ce sondage est arrivé à échéance." - diff --git a/survey_deadline_autoclose/i18n/survey_deadline_autoclose.pot b/survey_deadline_autoclose/i18n/survey_deadline_autoclose.pot index 9e74246..98c1f6e 100644 --- a/survey_deadline_autoclose/i18n/survey_deadline_autoclose.pot +++ b/survey_deadline_autoclose/i18n/survey_deadline_autoclose.pot @@ -17,7 +17,7 @@ msgstr "" #. module: survey_deadline_autoclose #: model:ir.model.fields,field_description:survey_deadline_autoclose.field_survey_survey__auto_close -msgid "Auto close at deadline" +msgid "Auto close" msgstr "" #. module: survey_deadline_autoclose @@ -72,4 +72,3 @@ msgstr "" #: model:mail.message.subtype,description:survey_deadline_autoclose.mail_message_subtype_survey_closed msgid "This survey was closed." msgstr "" - diff --git a/survey_deadline_autoclose/models/survey_survey.py b/survey_deadline_autoclose/models/survey_survey.py index 93c7b62..4a79c8f 100644 --- a/survey_deadline_autoclose/models/survey_survey.py +++ b/survey_deadline_autoclose/models/survey_survey.py @@ -18,7 +18,7 @@ class SurveySurvey(models.Model): survey.message_post(subtype='survey_deadline_autoclose.mail_message_subtype_survey_deadline') date_deadline = fields.Date(string="Deadline", copy=False) - auto_close = fields.Boolean(string="Auto close at deadline", default=False) + auto_close = fields.Boolean(string="Auto close", default=False, help="If checked, the survey will be closed automatically when deadline is overpassed.") # ACTIONS