[ADD] survey_xlsx_expand_multiple_choice, survey_xlsx_extra_fields
survey_xlsx_expand_multiple_choice: expand multiple_choice questions into one Oui/Non column per option, and matrix questions into one column per row (value = selected option). Relies on the extension hooks added to survey_xlsx. survey_xlsx_extra_fields: bridge (auto_install) with survey_extra_fields that excludes 'file' question types from the XLSX export. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
87
survey_xlsx_extra_fields/README.rst
Normal file
87
survey_xlsx_extra_fields/README.rst
Normal file
@@ -0,0 +1,87 @@
|
||||
.. image:: https://odoo-community.org/readme-banner-image
|
||||
:target: https://odoo-community.org/get-involved?utm_source=readme
|
||||
:alt: Odoo Community Association
|
||||
|
||||
=================================
|
||||
Survey XLSX - Extra Fields Bridge
|
||||
=================================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:8baa47af03e5b4b4e70ca6db224a5ac3e73aa66f287c42053a9a8f631efd10c2
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
:target: https://odoo-community.org/page/development-status
|
||||
:alt: Beta
|
||||
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/gitea-Elabore%2Fsurvey--tools-lightgray.png
|
||||
:target: https://git.elabore.coop/Elabore/survey-tools/tree/18.0/survey_xlsx_extra_fields
|
||||
:alt: Elabore/survey-tools
|
||||
|
||||
|badge1| |badge2| |badge3|
|
||||
|
||||
This is a **bridge module** between ``survey_xlsx_expand_multiple_choice``
|
||||
and ``survey_extra_fields``.
|
||||
|
||||
``survey_extra_fields`` adds a *File* question type, whose answers are
|
||||
uploaded attachments that cannot be represented in a spreadsheet cell. This
|
||||
module excludes those *File* questions from the **Survey Results XLSX
|
||||
export**: they get no column at all, instead of an unusable one.
|
||||
|
||||
It installs automatically (``auto_install``) as soon as both
|
||||
``survey_xlsx_expand_multiple_choice`` and ``survey_extra_fields`` are
|
||||
installed, and is uninstalled when either of them is removed. There is
|
||||
nothing to configure.
|
||||
|
||||
.. warning::
|
||||
|
||||
The exclusion is implemented through the report extension hooks provided
|
||||
by ``survey_xlsx_expand_multiple_choice``, which itself relies on hooks
|
||||
added to ``survey_xlsx`` by this pull request:
|
||||
|
||||
https://github.com/elabore-coop/survey/pull/1
|
||||
|
||||
Without those hooks, *File* questions are not filtered out of the export.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `Gitea Issues <https://git.elabore.coop/Elabore/survey-tools/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
`feedback <https://git.elabore.coop/Elabore/survey-tools/issues/new?body=module:%20survey_xlsx_extra_fields%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Authors
|
||||
~~~~~~~
|
||||
|
||||
* Elabore
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* `Elabore <https://www.elabore.coop>`_
|
||||
|
||||
* Quentin Mondot
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
This module is part of the `Elabore/survey-tools <https://git.elabore.coop/Elabore/survey-tools/tree/18.0/survey_xlsx_extra_fields>`_ project on git.elabore.coop.
|
||||
|
||||
You are welcome to contribute.
|
||||
Reference in New Issue
Block a user