Browse Source

[REF] rename survey_attachment to survey_input_attachment

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
71e9551c6d
  1. 139
      survey_attachment/i18n/survey_attachment.pot
  2. 0
      survey_input_attachment/__init__.py
  3. 0
      survey_input_attachment/__manifest__.py
  4. 78
      survey_input_attachment/i18n/fr.po
  5. 139
      survey_input_attachment/i18n/survey_attachment.pot
  6. 0
      survey_input_attachment/models/__init__.py
  7. 0
      survey_input_attachment/models/survey_question.py
  8. 0
      survey_input_attachment/models/survey_user_input_line.py
  9. 2
      survey_input_attachment/templates/page.xml
  10. 2
      survey_input_attachment/templates/survey_print.xml
  11. 0
      survey_input_attachment/templates/upload_file.xml
  12. 2
      survey_input_attachment/views/survey_user_input_line.xml

139
survey_attachment/i18n/survey_attachment.pot

@ -1,139 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_attachment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-31 13:32+0000\n"
"PO-Revision-Date: 2020-03-31 13:32+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_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__answer_type
msgid "Answer Type"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:9
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Attachment"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:8
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Date"
msgstr ""
#. module: survey_attachment
#: model_terms:ir.ui.view,arch_db:survey_attachment.upload_file
msgid "Download"
msgstr ""
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__file_type
msgid "File type"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_user_input_line.py:7
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "Image"
msgstr ""
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_question__question_attachment
msgid "Joined attachment"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:12
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Matrix"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:5
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple Lines Text Box"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:11
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: multiple answers allowed"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:10
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: only one answer"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:7
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Numerical Value"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_user_input_line.py:8
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "PDF file"
msgstr ""
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:6
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Single Line Text Box"
msgstr ""
#. module: survey_attachment
#: model:ir.model,name:survey_attachment.model_survey_question
msgid "Survey Question"
msgstr ""
#. module: survey_attachment
#: model:ir.model,name:survey_attachment.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr ""
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_question__type
msgid "Type of Question"
msgstr ""
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__file
msgid "Uploaded file"
msgstr ""
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__filename
msgid "Uploaded file name"
msgstr ""

0
survey_attachment/__init__.py → survey_input_attachment/__init__.py

0
survey_attachment/__manifest__.py → survey_input_attachment/__manifest__.py

78
survey_attachment/i18n/fr.po → survey_input_attachment/i18n/fr.po

@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_attachment
# * survey_input_attachment
#
msgid ""
msgstr ""
@ -15,125 +15,125 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__answer_type
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__answer_type
msgid "Answer Type"
msgstr "Type de réponse"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:9
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:9
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Attachment"
msgstr "Pièce jointe"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:8
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:8
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Date"
msgstr "Date"
#. module: survey_attachment
#: model_terms:ir.ui.view,arch_db:survey_attachment.upload_file
#. module: survey_input_attachment
#: model_terms:ir.ui.view,arch_db:survey_input_attachment.upload_file
msgid "Download"
msgstr "Télécharger"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__file_type
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__file_type
msgid "File type"
msgstr "Type de fichier"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_user_input_line.py:7
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_user_input_line.py:7
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "Image"
msgstr "Image"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_question__question_attachment
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_question__question_attachment
msgid "Joined attachment"
msgstr "Pièce jointe"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:12
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:12
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Matrix"
msgstr "Matrice"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:5
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:5
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple Lines Text Box"
msgstr "Plusieurs lignes de champ de texte"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:11
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:11
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: multiple answers allowed"
msgstr "Choix multiples : réponses multiples"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:10
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:10
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: only one answer"
msgstr "Choix multiples : une seule réponse possible"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:7
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:7
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Numerical Value"
msgstr "Valeur numérique"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_user_input_line.py:8
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_user_input_line.py:8
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "PDF file"
msgstr "Fichier PDF"
#. module: survey_attachment
#: code:addons/survey_attachment/models/survey_question.py:6
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:6
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Single Line Text Box"
msgstr "Ligne de texte unique"
#. module: survey_attachment
#: model:ir.model,name:survey_attachment.model_survey_question
#. module: survey_input_attachment
#: model:ir.model,name:survey_input_attachment.model_survey_question
msgid "Survey Question"
msgstr "Question du sondage"
#. module: survey_attachment
#: model:ir.model,name:survey_attachment.model_survey_user_input_line
#. module: survey_input_attachment
#: model:ir.model,name:survey_input_attachment.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr "Ligne de saisie pour l'utilisateur du sondage"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_question__type
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_question__type
msgid "Type of Question"
msgstr "Type de question"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__file
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__file
msgid "Uploaded file"
msgstr "Fichier joint"
#. module: survey_attachment
#: model:ir.model.fields,field_description:survey_attachment.field_survey_user_input_line__filename
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__filename
msgid "Uploaded file name"
msgstr "Nom du fichier joint"

139
survey_input_attachment/i18n/survey_attachment.pot

@ -0,0 +1,139 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_input_attachment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-31 13:32+0000\n"
"PO-Revision-Date: 2020-03-31 13:32+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_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__answer_type
msgid "Answer Type"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:9
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Attachment"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:8
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Date"
msgstr ""
#. module: survey_input_attachment
#: model_terms:ir.ui.view,arch_db:survey_input_attachment.upload_file
msgid "Download"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__file_type
msgid "File type"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_user_input_line.py:7
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "Image"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_question__question_attachment
msgid "Joined attachment"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:12
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Matrix"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:5
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple Lines Text Box"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:11
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: multiple answers allowed"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:10
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Multiple choice: only one answer"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:7
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Numerical Value"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_user_input_line.py:8
#: selection:survey.user_input_line,file_type:0
#, python-format
msgid "PDF file"
msgstr ""
#. module: survey_input_attachment
#: code:addons/survey_input_attachment/models/survey_question.py:6
#: selection:survey.question,type:0
#: selection:survey.user_input_line,answer_type:0
#, python-format
msgid "Single Line Text Box"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model,name:survey_input_attachment.model_survey_question
msgid "Survey Question"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model,name:survey_input_attachment.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_question__type
msgid "Type of Question"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__file
msgid "Uploaded file"
msgstr ""
#. module: survey_input_attachment
#: model:ir.model.fields,field_description:survey_input_attachment.field_survey_user_input_line__filename
msgid "Uploaded file name"
msgstr ""

0
survey_attachment/models/__init__.py → survey_input_attachment/models/__init__.py

0
survey_attachment/models/survey_question.py → survey_input_attachment/models/survey_question.py

0
survey_attachment/models/survey_user_input_line.py → survey_input_attachment/models/survey_user_input_line.py

2
survey_attachment/templates/page.xml → survey_input_attachment/templates/page.xml

@ -3,7 +3,7 @@
<template id="page" name="Survey Attachment Page" inherit_id="survey.page">
<xpath expr="//div[hasclass('js_question-wrapper')]/t[last()]" position='after'>
<t t-if="question.type == 'upload_file'"><t t-call="survey_attachment.upload_file"/></t>
<t t-if="question.type == 'upload_file'"><t t-call="survey_input_attachment.upload_file"/></t>
</xpath>
</template>

2
survey_attachment/templates/survey_print.xml → survey_input_attachment/templates/survey_print.xml

@ -3,7 +3,7 @@
<template id="survey_print" name="Survey Attachment print" inherit_id="survey.survey_print">
<xpath expr="//div[hasclass('js_question-wrapper')]/t[last()]" position='after'>
<t t-if="question.type == 'upload_file'"><t t-call="survey_attachment.upload_file"/></t>
<t t-if="question.type == 'upload_file'"><t t-call="survey_input_attachment.upload_file"/></t>
</xpath>
</template>

0
survey_attachment/templates/upload_file.xml → survey_input_attachment/templates/upload_file.xml

2
survey_attachment/views/survey_user_input_line.xml → survey_input_attachment/views/survey_user_input_line.xml

@ -2,7 +2,7 @@
<odoo>
<record id="survey_user_input_line_form" model="ir.ui.view">
<field name="name">survey_attachment survey.user_input_line form</field>
<field name="name">survey_input_attachment survey.user_input_line form</field>
<field name="model">survey.user_input_line</field>
<field name="inherit_id" ref="survey.survey_user_input_line_form"/>
<field name="priority">20</field>
Loading…
Cancel
Save