Skip to content

Conversation

@BhaveshHeliconia
Copy link
Contributor

No description provided.

pedrobaeza and others added 18 commits February 3, 2025 15:00
=============================================
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/
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/
@pedrobaeza
Copy link
Member

/ocabot migration event_registration_cancel_reason

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Feb 3, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 3, 2025
20 tasks
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-event_registration_cancel_reason branch from c5f7e1e to 7d176ed Compare March 31, 2025 05:55
@BhaveshHeliconia
Copy link
Contributor Author

Hey @OCA/crm-sales-marketing-maintainers would be great if someone could have a look at this module.

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 17, 2025
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-event_registration_cancel_reason branch from 7d176ed to 96cd9b7 Compare August 18, 2025 04:43
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 24, 2025
Copy link
Member

@FrancoMaxime FrancoMaxime left a comment

Choose a reason for hiding this comment

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

LGTM: code review

Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

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

Code review OK

IMO, it is not necessary to make any changes to the .po files during migration.
Any necessary changes will be done automatically by the bot when merging.

TT58106

Comment on lines 7 to 10
from odoo.tests import common


class TestEventRegistrationCancelReason(common.TransactionCase):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
from odoo.tests import common
class TestEventRegistrationCancelReason(common.TransactionCase):
from odoo.addons.base.tests.common import BaseCommon
class TestEventRegistrationCancelReason(BaseCommon):

@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-event_registration_cancel_reason branch from 96cd9b7 to ea0e772 Compare October 1, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.