Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] survey_resource_booking: Migration to 16.0 #136

Open
wants to merge 17 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/survey_resource_booking/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
113 changes: 113 additions & 0 deletions survey_resource_booking/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
==========================================
Link between resource bookings and surveys
==========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1c7030acb337d2d38779d5501ee70e76778ec1214e4025a11aefade30a7cf035
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/licence-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/github-OCA%2Fsurvey-lightgray.png?logo=github
:target: https://github.com/OCA/survey/tree/16.0/survey_resource_booking
:alt: OCA/survey
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/survey-16-0/survey-16-0-survey_resource_booking
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/survey&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of surveys and resource bookings to
support linking them together and to allow you to quickly request and read
answers.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Have basic permissions for both Resource Bookings and Surveys.
#. Link one survey to a resource booking type from *Resource Bookings > Types*.
#. Create a resource booking for that type.
#. Confirm it.
#. Use the contextual action *Invite to fill survey*. Can be used in multiple
records at once in the list view.

Known issues / Roadmap
======================

* You cannot invite those that were already invited. Do that from the survey form.
* You cannot invite unconfirmed resource bookings.
* You cannot invite resource bookings attached to types that have no survey.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/survey/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://github.com/OCA/survey/issues/new?body=module:%20survey_resource_booking%0Aversion:%2016.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Jairo Llopis
* Víctor Martínez
* Stefan Ungureanu

* `Binhex <https://binhex.cloud>`_:

* Ariel Barreiros

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-Yajo| image:: https://github.com/Yajo.png?size=40px
:target: https://github.com/Yajo
:alt: Yajo

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Yajo|

This module is part of the `OCA/survey <https://github.com/OCA/survey/tree/16.0/survey_resource_booking>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions survey_resource_booking/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions survey_resource_booking/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2021 Tecnativa - Jairo Llopis
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Link between resource bookings and surveys",
"summary": "Access survey answers from resource booking",
"version": "16.0.1.0.0",
"development_status": "Beta",
"category": "Appointments",
"website": "https://github.com/OCA/survey",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["Yajo"],
"license": "AGPL-3",
"depends": ["resource_booking", "survey"],
"data": [
"views/resource_booking_type_views.xml",
"views/resource_booking_views.xml",
],
}
87 changes: 87 additions & 0 deletions survey_resource_booking/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_resource_booking
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-27 12:40+0000\n"
"PO-Revision-Date: 2023-11-11 18:37+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "Cannot invite to fill survey because booking not confirmed: %s"
msgstr ""
"No se le puede invitar para rellenar la encuesta porque esta reserva/cita no "
"está confirmada: %s"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid ""
"Cannot send survey invitation for this booking because the requester has no "
"email: %s"
msgstr ""
"No se puede enviar la invitación a la encuesta para esta reserva porque el "
"solicitante no tiene correo electrónico: %s"

#. module: survey_resource_booking
#: model:ir.actions.server,name:survey_resource_booking.action_invite_survey
msgid "Invite to fill survey"
msgstr "Invitar para rellenar encuesta"

#. module: survey_resource_booking
#: model:ir.model,name:survey_resource_booking.model_resource_booking
msgid "Resource Booking"
msgstr "Reserva de recursos"

#. module: survey_resource_booking
#: model:ir.model,name:survey_resource_booking.model_resource_booking_type
msgid "Resource Booking Type"
msgstr "Tipo de reserva de recursos"

#. module: survey_resource_booking
#: model:ir.model.fields,field_description:survey_resource_booking.field_resource_booking_type__survey_id
msgid "Survey"
msgstr "Encuesta"

#. module: survey_resource_booking
#: model:ir.model.fields,field_description:survey_resource_booking.field_resource_booking__survey_user_input_id
msgid "Survey user input"
msgstr "Entrada de usuario de la encuesta"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "This booking's requester was already invited to fill survey: %s"
msgstr ""
"El solicitante de esta reserva/cita ya fue invitado a rellenar la encuesta: "
"%s"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "This booking's type has no survey defined: %s"
msgstr "El tipo de esta reserva/cita no tiene ninguna encuesta definida: %s"

#. module: survey_resource_booking
#: model:ir.model.fields,help:survey_resource_booking.field_resource_booking__survey_user_input_id
msgid "User responses to survey, as specified in the resource booking type."
msgstr ""
"Respuestas del usuario a la encuesta, tal y como se especificó en el tipo de "
"reserva/cita."

#. module: survey_resource_booking
#: model:ir.model.fields,help:survey_resource_booking.field_resource_booking_type__survey_id
msgid "You will be able to invite requesters to respond to this survey."
msgstr "Podrá invitar a los solicitantes a responder esta encuesta."
85 changes: 85 additions & 0 deletions survey_resource_booking/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * survey_resource_booking
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-10-31 13:35+0000\n"
"Last-Translator: Julien Guenat <julien.guenat@geckoescalade.ch>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "Cannot invite to fill survey because booking not confirmed: %s"
msgstr ""
"Impossible d'inviter à remplir le sondage car la réservation n'est pas "
"confirmée: %s"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid ""
"Cannot send survey invitation for this booking because the requester has no "
"email: %s"
msgstr ""
"Impossible d'inviter à remplir le sondage pour cette réservation car le "
"demandeur n'a pas d’adresse e-mail: %s"

#. module: survey_resource_booking
#: model:ir.actions.server,name:survey_resource_booking.action_invite_survey
msgid "Invite to fill survey"
msgstr "Inviter à remplir le sondage"

#. module: survey_resource_booking
#: model:ir.model,name:survey_resource_booking.model_resource_booking
msgid "Resource Booking"
msgstr "Réservation de ressources"

#. module: survey_resource_booking
#: model:ir.model,name:survey_resource_booking.model_resource_booking_type
msgid "Resource Booking Type"
msgstr "Type de réservation de ressources"

#. module: survey_resource_booking
#: model:ir.model.fields,field_description:survey_resource_booking.field_resource_booking_type__survey_id
msgid "Survey"
msgstr "Sondage"

#. module: survey_resource_booking
#: model:ir.model.fields,field_description:survey_resource_booking.field_resource_booking__survey_user_input_id
msgid "Survey user input"
msgstr "Réponse au sondage"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "This booking's requester was already invited to fill survey: %s"
msgstr ""
"Le demandeur de la réservation était déjà invité à remplir le sondage : %s"

#. module: survey_resource_booking
#: code:addons/survey_resource_booking/models/resource_booking.py:0
#, python-format
msgid "This booking's type has no survey defined: %s"
msgstr "Ce type de réservation n'a pas de sondage définit: %s"

#. module: survey_resource_booking
#: model:ir.model.fields,help:survey_resource_booking.field_resource_booking__survey_user_input_id
msgid "User responses to survey, as specified in the resource booking type."
msgstr ""
"Réponses au sondage de l'utilisateur, comme spécifié dans le type de "
"réservation de ressources."

#. module: survey_resource_booking
#: model:ir.model.fields,help:survey_resource_booking.field_resource_booking_type__survey_id
msgid "You will be able to invite requesters to respond to this survey."
msgstr "Vous pourrez inviter les demandeurs à répondre à ce sondage."
Loading
Loading