diff --git a/survey_description/__init__.py b/survey_description/__init__.py index 0650744..e69de29 100644 --- a/survey_description/__init__.py +++ b/survey_description/__init__.py @@ -1 +0,0 @@ -from . import models diff --git a/survey_description/__manifest__.py b/survey_description/__manifest__.py index 23e5566..c04a129 100644 --- a/survey_description/__manifest__.py +++ b/survey_description/__manifest__.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': 'Survey details', + 'name': 'Survey description', 'version': '1.0.0', 'summary': """ - This module adds a new tab in the survey form to customize the answer start template. + This module displays standard HTML fields \"Description\" and \"Thank you message\" on survey and survey pages. """, 'description': """ """, 'author': 'Sudokeys', @@ -15,7 +15,6 @@ 'survey', ], 'data': [ - 'templates/survey_init.xml', 'views/survey_page.xml', 'views/survey_survey.xml', ], diff --git a/survey_description/i18n/fr.po b/survey_description/i18n/fr.po index 3c66308..6002e21 100644 --- a/survey_description/i18n/fr.po +++ b/survey_description/i18n/fr.po @@ -1,13 +1,13 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * survey_details +# * survey_description # msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-03-23 21:21+0000\n" -"PO-Revision-Date: 2020-03-23 21:21+0000\n" +"POT-Creation-Date: 2020-03-25 11:43+0000\n" +"PO-Revision-Date: 2020-03-25 11:43+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,27 +15,17 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: survey_details -#: model_terms:ir.ui.view,arch_db:survey_details.survey_survey_form -msgid "Details" -msgstr "Détails" +#. module: survey_description +#: model_terms:ir.ui.view,arch_db:survey_description.survey_survey_form +msgid "Description" +msgstr "Description" -#. module: survey_details -#: model_terms:ir.ui.view,arch_db:survey_details.survey_init -msgid "Start Survey" -msgstr "Commencer le sondage" - -#. module: survey_details -#: model:ir.model.fields,field_description:survey_details.field_survey_survey__button_label -msgid "Start button label" -msgstr "Label du bouton" - -#. module: survey_details -#: model:ir.model,name:survey_details.model_survey_survey +#. module: survey_description +#: model:ir.model,name:survey_description.model_survey_survey msgid "Survey" msgstr "Sondage" -#. module: survey_details -#: model:ir.model.fields,help:survey_details.field_survey_survey__button_label -msgid "This label will be used in the survey start button. If empty, the label will be \"Start survey\"." -msgstr "Ce label est utilisé dans le bouton au début du sondage. Si ce champ est vide, le label sera \"Commencer le sondage\"" +#. module: survey_description +#: model_terms:ir.ui.view,arch_db:survey_description.survey_survey_form +msgid "Thank you page" +msgstr "Page de fin" diff --git a/survey_description/i18n/survey_description.pot b/survey_description/i18n/survey_description.pot new file mode 100644 index 0000000..046f831 --- /dev/null +++ b/survey_description/i18n/survey_description.pot @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * survey_description +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-03-25 11:44+0000\n" +"PO-Revision-Date: 2020-03-25 11:44+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: survey_description +#: model_terms:ir.ui.view,arch_db:survey_description.survey_survey_form +msgid "Description" +msgstr "" + +#. module: survey_description +#: model:ir.model,name:survey_description.model_survey_survey +msgid "Survey" +msgstr "" + +#. module: survey_description +#: model_terms:ir.ui.view,arch_db:survey_description.survey_survey_form +msgid "Thank you page" +msgstr "" + diff --git a/survey_description/i18n/survey_details.pot b/survey_description/i18n/survey_details.pot deleted file mode 100644 index 0bc7a98..0000000 --- a/survey_description/i18n/survey_details.pot +++ /dev/null @@ -1,42 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * survey_details -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0+e\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-03-23 21:22+0000\n" -"PO-Revision-Date: 2020-03-23 21:22+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: survey_details -#: model_terms:ir.ui.view,arch_db:survey_details.survey_survey_form -msgid "Details" -msgstr "" - -#. module: survey_details -#: model_terms:ir.ui.view,arch_db:survey_details.survey_init -msgid "Start Survey" -msgstr "" - -#. module: survey_details -#: model:ir.model.fields,field_description:survey_details.field_survey_survey__button_label -msgid "Start button label" -msgstr "" - -#. module: survey_details -#: model:ir.model,name:survey_details.model_survey_survey -msgid "Survey" -msgstr "" - -#. module: survey_details -#: model:ir.model.fields,help:survey_details.field_survey_survey__button_label -msgid "This label will be used in the survey start button. If empty, the label will be \"Start survey\"." -msgstr "" - diff --git a/survey_description/models/__init__.py b/survey_description/models/__init__.py deleted file mode 100644 index 38d56b9..0000000 --- a/survey_description/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import survey_survey diff --git a/survey_description/models/survey_survey.py b/survey_description/models/survey_survey.py deleted file mode 100644 index 4acbd4d..0000000 --- a/survey_description/models/survey_survey.py +++ /dev/null @@ -1,7 +0,0 @@ -from odoo import models, fields - - -class SurveySurvey(models.Model): - _inherit = 'survey.survey' - - button_label = fields.Char(string="Start button label", help="This label will be used in the survey start button. If empty, the label will be \"Start survey\".") diff --git a/survey_description/templates/survey_init.xml b/survey_description/templates/survey_init.xml deleted file mode 100644 index 7ff84b7..0000000 --- a/survey_description/templates/survey_init.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - diff --git a/survey_description/views/survey_page.xml b/survey_description/views/survey_page.xml index b7e65ed..538b8f8 100644 --- a/survey_description/views/survey_page.xml +++ b/survey_description/views/survey_page.xml @@ -2,7 +2,7 @@ - survey_details survey.page form + survey_description survey.page form survey.page 20 diff --git a/survey_description/views/survey_survey.xml b/survey_description/views/survey_survey.xml index 53730eb..ac966ce 100644 --- a/survey_description/views/survey_survey.xml +++ b/survey_description/views/survey_survey.xml @@ -2,17 +2,17 @@ - survey_details survey.survey form + survey_description survey.survey form survey.survey 20 - - - - - + + + + +