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

[MIG] 16.0 : event_registration_cancel_reason #399

Open
wants to merge 22 commits into
base: 16.0
Choose a base branch
from

Conversation

lmarion-source
Copy link

No description provided.

pedrobaeza and others added 21 commits August 2, 2024 09:44
=============================================
Reasons for event registrations cancellations
=============================================

This module allows to add a predefined reason why a registration for an event
is cancelled.

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

Go to *Marketing > Configuration > Events > Registrations cancel reasons* for
setting the possible reasons you want to handle. You can also set if a reason
is only available for certain events or, if you leave it empty, for all.

Usage
=====

Go to *Marketing > Events > Events*, enter into the details or any of the
events, and press the red circle button in the right part of any of the
registrations. A new screen will appear asking you to enter the reason why the
registration is cancelled.

You will get also the same screen when pressing the button
*Cancel registration* from the details view of a registration in
*Marketing > Events > Registrations*. On this object, you can group by the
cancel reason in the list, calendar or graph view.
…ing and fix tests.

Fix OCA#35. When an event had no type, it was not getting in the mapping because of the way Odoo generates recordsets.
- Updated README
- Updated views
- Updated tests
- Improve tests to achieve full test coverage
Currently translated at 95.0% (19 of 20 strings)

Translation: event-13.0/event-13.0-event_registration_cancel_reason
Translate-URL: https://translation.odoo-community.org/projects/event-13-0/event-13-0-event_registration_cancel_reason/es/
Currently translated at 65.0% (13 of 20 strings)

Translation: event-14.0/event-14.0-event_registration_cancel_reason
Translate-URL: https://translation.odoo-community.org/projects/event-14-0/event-14-0-event_registration_cancel_reason/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: event-15.0/event-15.0-event_registration_cancel_reason
Translate-URL: https://translation.odoo-community.org/projects/event-15-0/event-15-0-event_registration_cancel_reason/
Currently translated at 100.0% (20 of 20 strings)

Translation: event-15.0/event-15.0-event_registration_cancel_reason
Translate-URL: https://translation.odoo-community.org/projects/event-15-0/event-15-0-event_registration_cancel_reason/it/
Currently translated at 100.0% (20 of 20 strings)

Translation: event-15.0/event-15.0-event_registration_cancel_reason
Translate-URL: https://translation.odoo-community.org/projects/event-15-0/event-15-0-event_registration_cancel_reason/es/
Copy link

@AnizR AnizR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me!

Thanks

(Some improvments could be done it this module but it shouldn't be done in the migration)

@lmarion-source lmarion-source force-pushed the 16.0-mig-event_registration_cancel_reason branch from 9a4b809 to 5e303a6 Compare August 7, 2024 08:32
@lmarion-source lmarion-source force-pushed the 16.0-mig-event_registration_cancel_reason branch from 5e303a6 to 20e9882 Compare August 7, 2024 08:38
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.