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

[17.0][MIG] sale_crm_event_reservation: Migration to version 17.0 #425

Open
wants to merge 14 commits into
base: 17.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
138 changes: 138 additions & 0 deletions sale_crm_event_reservation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
==========================================
Create event quotations from opportunities
==========================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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%2Fevent-lightgray.png?logo=github
:target: https://github.com/OCA/event/tree/17.0/sale_crm_event_reservation
:alt: OCA/event
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/event-17-0/event-17-0-sale_crm_event_reservation
: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/event&target_branch=17.0
:alt: Try me on Runboat

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

This module extends the functionality of *crm_event*,
*event_sale_reservation* and *sale_crm* to support fast generation of
event quotations from opportunities and to allow you to sell events like
a boss.

**Table of contents**

.. contents::
:local:

Installation
============

To install this module, you need to:

1. Install *crm_event* and *event_sale_reservation* from
https://github.com/OCA/event.

Configuration
=============

To make use of this module, a user needs these minimal permissions:

- Sales / User: Own Documents Only
- Events / User

Usage
=====

To use this module, you need to:

1. Go to *CRM > My Pipeline*.
2. Create one opportunity.
3. Set basic fields.
4. Set *Customer*, *Event type* and *Seats Wanted*.
5. Click on *New Event Quotation*.

A wizard will open. If you want to register the customer in an scheduled
event:

1. Select *Mode = Register in scheduled event*.
2. Select *Event* and *Ticket*
3. Click on *Generate quotation*

Instead, if you want to reserve some seats for the customer in some
upcoming event:

1. Select *Mode = Reserve upcoming event*.
2. Select *Product*, which must be a reservation product for the chosen
event type.
3. Click on *Generate quotation*

In either case, you will be presented with a sale order created just for
you.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/event/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/event/issues/new?body=module:%20sale_crm_event_reservation%0Aversion:%2017.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
- Stefan Ungureanu

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-chienandalu| image:: https://github.com/chienandalu.png?size=40px
:target: https://github.com/chienandalu
:alt: chienandalu
.. |maintainer-pilarvargas-tecnativa| image:: https://github.com/pilarvargas-tecnativa.png?size=40px
:target: https://github.com/pilarvargas-tecnativa
:alt: pilarvargas-tecnativa

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

|maintainer-chienandalu| |maintainer-pilarvargas-tecnativa|

This module is part of the `OCA/event <https://github.com/OCA/event/tree/17.0/sale_crm_event_reservation>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions sale_crm_event_reservation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import reports
from . import wizards
23 changes: 23 additions & 0 deletions sale_crm_event_reservation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2021 Tecnativa - Jairo Llopis
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Create event quotations from opportunities",
"summary": "Combine event reservations, opportunities and quotations",
"version": "17.0.1.0.0",
"development_status": "Mature",
"category": "Marketing",
"website": "https://github.com/OCA/event",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["chienandalu", "pilarvargas-tecnativa"],
"license": "AGPL-3",
"application": False,
"installable": True,
"auto_install": True,
"depends": ["crm_event", "event_sale_reservation", "sale_crm"],
"data": [
"reports/event_type_report_views.xml",
"security/ir.model.access.csv",
"wizards/crm_lead_event_sale_wizard_views.xml",
"views/crm_lead_views.xml",
],
}
173 changes: 173 additions & 0 deletions sale_crm_event_reservation/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_crm_event_reservation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-05 16:37+0000\n"
"PO-Revision-Date: 2023-10-29 20:41+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: sale_crm_event_reservation
#: model_terms:ir.ui.view,arch_db:sale_crm_event_reservation.crm_lead_event_sale_wizard_view_form
msgid "Cancel"
msgstr "Cancelar"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__create_date
msgid "Created on"
msgstr "Creado en"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__event_id
msgid "Event"
msgstr "Evento"

#. module: sale_crm_event_reservation
#: model:ir.model,name:sale_crm_event_reservation.model_event_type_report
msgid "Event categories analysis report"
msgstr "Informe de análisis de categorías de Eventos"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__event_type_id
msgid "Event category"
msgstr "Categoría de evento"

#. module: sale_crm_event_reservation
#: model:ir.actions.act_window,name:sale_crm_event_reservation.crm_lead_event_sale_wizard_action
msgid "Generate event quotation"
msgstr "Generar presupuesto para evento"

#. module: sale_crm_event_reservation
#: model_terms:ir.ui.view,arch_db:sale_crm_event_reservation.crm_lead_event_sale_wizard_view_form
msgid "Generate quotation"
msgstr "Generar presupuesto"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,help:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__mode
msgid "How to create the event quotation?"
msgstr "¿Cómo presupuestar el evento?"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__id
msgid "ID"
msgstr "ID"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,help:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__seats_wanted
msgid ""
"If this lead/opportunity is related to a specific event category, indicate "
"how many seats would you sell if won."
msgstr ""
"Si esta iniciativa u oportunidad está relacionada con una categoría "
"específica de evento, indique cuántas plazas vendería si se gana."

#. module: sale_crm_event_reservation
#: model:ir.model.fields,help:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__event_type_id
msgid ""
"If this lead/opportunity is related to a specific event category, indicate "
"it here."
msgstr ""
"Si esta iniciativa u oportunidad está relacionada con una categoría "
"específica de evento, indíquelo aquí."

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__mode
msgid "Mode"
msgstr "Modo"

#. module: sale_crm_event_reservation
#: model_terms:ir.ui.view,arch_db:sale_crm_event_reservation.crm_case_form_view_oppor
msgid "New Event Quotation"
msgstr "Presupuestar evento"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__opportunity_id
msgid "Opportunity"
msgstr "Oportunidad"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__product_id
msgid "Product"
msgstr "Producto"

#. module: sale_crm_event_reservation
#: model:ir.model.fields.selection,name:sale_crm_event_reservation.selection__crm_lead_event_sale_wizard__mode__register
msgid "Register in scheduled event"
msgstr "Registrar en un evento ya programado"

#. module: sale_crm_event_reservation
#: model:ir.model.fields.selection,name:sale_crm_event_reservation.selection__crm_lead_event_sale_wizard__mode__reserve
msgid "Reserve upcoming event"
msgstr "Reservar un evento futuro"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_event_type_report__seats_reservation_total
msgid "Reserved seats"
msgstr "Plazas reservadas"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__seats_wanted
msgid "Seats Wanted"
msgstr "Asientos deseados"

#. module: sale_crm_event_reservation
#: model:ir.model.fields,field_description:sale_crm_event_reservation.field_crm_lead_event_sale_wizard__event_ticket_id
msgid "Ticket"
msgstr "Billete"

#. module: sale_crm_event_reservation
#: model:ir.model,name:sale_crm_event_reservation.model_crm_lead_event_sale_wizard
msgid "Wizard to generate event quotation from event opportunity"
msgstr "Asistente para presupuestar eventos desde una oportunidad de evento"

#~ msgid "Event type"
#~ msgstr "Categoría de evento"

#~ msgid ""
#~ "If this lead/opportunity is related to a specific event type, indicate "
#~ "how many seats would you sell if won."
#~ msgstr ""
#~ "Si esta iniciativa u oportunidad está relacionada con una categoría "
#~ "específica de evento, indique cuántas plazas vendería si se gana."

#~ msgid ""
#~ "If this lead/opportunity is related to a specific event type, indicate it "
#~ "here."
#~ msgstr ""
#~ "Si esta iniciativa u oportunidad está relacionada con una categoría "
#~ "específica de evento, indíquelo aquí."
Loading
Loading