diff --git a/survey_question_duplicate/__init__.py b/survey_question_duplicate/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/survey_question_duplicate/__manifest__.py b/survey_question_duplicate/__manifest__.py new file mode 100644 index 0000000..752cec4 --- /dev/null +++ b/survey_question_duplicate/__manifest__.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + 'name': 'Survey question duplicate', + 'version': '1.0.0', + 'summary': """ + This module adds a \"Copy\" button in question lines on survey page form, only in edit mode. + """, + 'description': """ """, + 'author': 'Sudokeys', + 'website': 'http://www.sudokeys.com/', + 'license': 'AGPL-3', + 'category': 'Marketing', + 'depends': [ + 'survey', + ], + 'data': [ + 'views/survey_page.xml', + ], + 'demo': [], + 'auto_install': False, + 'external_dependencies': [], + 'application': False, + 'css': [], + 'images': ['static/description/survey.jpg'], + 'js': [], + 'installable': True, + 'maintainer': 'Sudokeys', + 'pre_init_hook': '', + 'post_init_hook': '', + 'uninstall_hook': '', +} diff --git a/survey_question_duplicate/views/survey_page.xml b/survey_question_duplicate/views/survey_page.xml new file mode 100644 index 0000000..971afd9 --- /dev/null +++ b/survey_question_duplicate/views/survey_page.xml @@ -0,0 +1,16 @@ + + + + + survey_input_attachment survey.page form + survey.page + + 20 + + +