Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Surveys (survey)
• Discuss (mail) |
Lines of code | 238 |
Technical Name |
survey_upload_file |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 15.0 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Surveys (survey)
• Discuss (mail) |
Lines of code | 238 |
Technical Name |
survey_upload_file |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 15.0 16.0 17.0 18.0 |

File Upload In Survey
Adds Single Or Multiple File Upload Options In Survey.

Key Highlights
User can upload file for survey questions.
Upload single file as answer for survey questions.
Participants can view their answer in the 'review your answers' button in Survey form.
Upload multiple file as answer for survey questions.
Single Attachment Download
On survey user can add questions as file upload type and allow user to add file as attachment answer.

User can select "Upload File" as "Question Type", User can also see question type view icon for file upload.

On survey participants can see "Choose file" options for "File Upload" question type, by clicking this button user can upload a file as attachment and also a note is shown so the Participant can know he can only upload one File.

Once participants finish survey he/she can view attached file by clicking "review your answers" button.

The Participant can view and download the attachments by clicking the File Name.

User can see uploaded files on by clicking the smart button inside question form.



The User can Download the Attachment of the Participant Here.

Multiple Attachments Download
On survey user can add questions as file upload type and allow survey participants to add multiple file as attachment answer.

User can select "File Upload" as "Question Type", User also need to enable " Upload Multiple file" options only then survey participants can also see question type view icon for file upload.

On survey participants can see "Choose File" options for "File Upload" question type, by clicking this button user can select and upload multiple files as attachment and also a note is shown so the Participant can know he can upload multiple Files.

Once participants finish survey he/she can view all uploaded multiple file by clicking "review your answers" button and also download and view attachments by clicking file.

The Participant can view and download the attachments by clicking the File Name.

User can see uploaded files on answers.

-
E-mail Notification
-
Detailed Account Details
-
System Information in Notification Email
Initial Commit for File Upload In Survey
Related Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Support
Got questions or need help? Get in touch.
Say hi to us on WhatsApp!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedDuplicating files to other questions
Hi Team,
Survey files are duplicating to all upload file type questions.
Try with more than one upload type question and choose " One page per section" or "One page with all the questions"
It is working correctly for One page per question.
Re: Duplicating files to other questions
Could you please share more details about the problem you are experiencing? This will help us assist you more effectively.
You can email to odoo@cybrosys.com.
I got this error when submit survey, please support
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1783, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1810, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 2014, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 221, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/src/odoo/odoo/http.py", line 757, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/src/odoo/addons/survey/controllers/main.py", line 539, in survey_submit
answer_sudo._save_lines(question, answer, comment, overwrite_existing=survey_sudo.users_can_go_back or question.save_as_nickname or question.save_as_email)
File "/home/odoo/src/user/survey_upload_file/models/survey_user_input.py", line 49, in _save_lines
res = super()._save_lines(question, answer, comment,
File "/home/odoo/src/odoo/addons/survey/models/survey_user_input.py", line 290, in _save_lines
self._save_line_simple_answer(question, old_answers, answer)
File "/home/odoo/src/user/survey_upload_file/models/survey_user_input.py", line 55, in _save_line_simple_answer
vals = self._get_line_answer_file_upload_values(question,
File "/home/odoo/src/user/survey_upload_file/models/survey_user_input.py", line 74, in _get_line_answer_file_upload_values
file_data = answer[0]
IndexError: list index out of range
Re: I got this error when submit survey, please support
I wanted to inform you that the bugs have been fixed, Please get the latest version
Error Upload File
Got this error when click upload file
binascii.Error: Invalid base64-encoded string: number of data characters (1) cannot be 1 more than a multiple of 4