Skip to content
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
103 changes: 103 additions & 0 deletions event_sale_update_qty/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
=====================
Event Sale Update Qty
=====================

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

.. |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%2Fevent-lightgray.png?logo=github
:target: https://github.com/OCA/event/tree/17.0/event_sale_update_qty
: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-event_sale_update_qty
: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 *event_sale* to better manage
event participants after the sale confirmation. Allow users to modify
the number of attendees for event-related sale order lines after
confirmation.

**Table of contents**

.. contents::
:local:

Usage
=====

1. Create a quotation and add one or more products that correspond to
event tickets.
2. Confirm the quotation.
3. A button will now appear in the order lines that allows you to edit
the quantity.
4. Click on the button for any line and edit the quantity to add or
remove records.
5. Once the quantity has been edited, the event records associated with
the order will have been modified.

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:%20event_sale_update_qty%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>`__:

- Pedro Baeza
- Pilar Vargas

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

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

|maintainer-pilarvargas-tecnativa|

This module is part of the `OCA/event <https://github.com/OCA/event/tree/17.0/event_sale_update_qty>`_ 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 event_sale_update_qty/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
22 changes: 22 additions & 0 deletions event_sale_update_qty/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2025 Tecnativa - Pilar Vargas
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Event Sale Update Qty",
"summary": "Update event registrations from confirmed sale order lines.",
"version": "17.0.1.0.0",
"development_status": "Beta",
"category": "Marketing",
"website": "https://github.com/OCA/event",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["pilarvargas-tecnativa"],
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["event_sale"],
"data": [
"security/ir.model.access.csv",
"views/sale_order_view.xml",
"wizards/event_sale_update_qty_wizard.xml",
],
}
140 changes: 140 additions & 0 deletions event_sale_update_qty/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * event_sale_update_qty
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21 15:53+0000\n"
"PO-Revision-Date: 2025-10-21 17:56+0200\n"
"Last-Translator: \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: Poedit 3.4.2\n"

#. module: event_sale_update_qty
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_event_sale_update_qty_wizard_form
msgid "<span colspan=\"2\" class=\"o_form_label\">Check those to remove</span>"
msgstr "<span colspan=\"2\" class=\"o_form_label\">Marque los que desea eliminar</span>"

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__registration_ids
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_event_sale_update_qty_wizard_form
msgid "Attendees"
msgstr "Asistentes"

#. module: event_sale_update_qty
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_event_sale_update_qty_wizard_form
msgid "Cancel"
msgstr "Cancelar"

#. module: event_sale_update_qty
#: model:ir.model.fields,help:event_sale_update_qty.field_event_sale_update_qty_wizard__event_id
msgid ""
"Choose an event and it will automatically create a registration for this "
"event."
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,help:event_sale_update_qty.field_event_sale_update_qty_wizard__ticket_id
msgid ""
"Choose an event ticket and it will automatically create a registration for "
"this event ticket."
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__create_date
msgid "Created on"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__display_name
msgid "Display Name"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model,name:event_sale_update_qty.model_registration_editor
msgid "Edit Attendee Details on Sales Confirmation"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__event_id
msgid "Event"
msgstr "Evento"

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__id
msgid "ID"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: event_sale_update_qty
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_order_form
msgid "Modify attendees"
msgstr "Modificar asistentes"

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__new_qty
msgid "New Quantity"
msgstr "Nueva cantidad"

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__sale_order_line_id
msgid "Sale Order Line"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model,name:event_sale_update_qty.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__show_registrations
msgid "Show Registrations"
msgstr ""

#. module: event_sale_update_qty
#: model:ir.model.fields,field_description:event_sale_update_qty.field_event_sale_update_qty_wizard__ticket_id
msgid "Ticket"
msgstr ""

#. module: event_sale_update_qty
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_event_sale_update_qty_wizard_form
msgid "Update"
msgstr "Actualizar"

#. module: event_sale_update_qty
#: model_terms:ir.ui.view,arch_db:event_sale_update_qty.view_event_sale_update_qty_wizard_form
msgid "Update Attendee Quantity"
msgstr "Actualizar cantidad de asistentes"

#. module: event_sale_update_qty
#: model:ir.model,name:event_sale_update_qty.model_event_sale_update_qty_wizard
msgid "Wizard to update event attendees quantity from sale order line"
msgstr ""

#. module: event_sale_update_qty
#. odoo-python
#: code:addons/event_sale_update_qty/wizards/event_sale_update_qty_wizard.py:0
#, python-format
msgid "You must select exactly %s attendee(s) to cancel."
msgstr "Debe seleccionar exactamente %s asistente(s) para cancelar."
Loading