Browse Source

[ADD] help on auto_close in survey_deadline_autoclose

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
a01cd56389
  1. 5
      survey_deadline_autoclose/i18n/fr.po
  2. 3
      survey_deadline_autoclose/i18n/survey_deadline_autoclose.pot
  3. 2
      survey_deadline_autoclose/models/survey_survey.py

5
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."

3
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 ""

2
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

Loading…
Cancel
Save