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] event_registration_partner_unique: Migration to version 16.0 #343

Merged

Commits on Oct 17, 2023

  1. Unique partners in registrations.

    This module allows you to avoid having a partner registrated twice in the same event.
    yajo authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    46f1590 View commit details
    Browse the repository at this point in the history
  2. Depends now on event_sale to fix [this bug][1].

    It has to declare unique indexes instead of constraints to work.
    
    [1]: OCA#38 (comment)
    yajo authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    967ba61 View commit details
    Browse the repository at this point in the history
  3. Refactor module.

    - Remove dependency on event_sale.
    - Add custom field that allows to choose in which events to disable duplicates.
    - Add tests.
    - Add custom exception to be used in upcoming submodule (for event_sale).
    yajo authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    05da217 View commit details
    Browse the repository at this point in the history
  4. [9.0][MIG] event_registration_partner_unique module

    - Updated views
    - Updated README
    cubells authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2ee2112 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf283c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f3bb788 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    af44b47 View commit details
    Browse the repository at this point in the history
  8. [MIG] event_registration_partner_unique: Migration to v12

    Victor M.M. Torres authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    06a345e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b0da9dd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8c3d568 View commit details
    Browse the repository at this point in the history
  11. Translated using Weblate (Spanish)

    Currently translated at 100.0% (5 of 5 strings)
    
    Translation: event-13.0/event-13.0-event_registration_partner_unique
    Translate-URL: https://translation.odoo-community.org/projects/event-13-0/event-13-0-event_registration_partner_unique/es/
    anasuarez1 authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    68ad86a View commit details
    Browse the repository at this point in the history
  12. [FIX] event_registration_partner_unique: Avoid false positives

    Steps to reproduce the problem:
    
    - Register anonymously a first attendee for an event from website.
    - The registration is saved with no attendee_partner_id.
    - Repeat the registration again anonymously.
    - You get the error "Duplicated partners found in event...".
    
    That's because current duplicated domain is searching for other
    registrations regardless of if there's a linked partner or not.
    
    We now restrict the search to those with a linked partner.
    
    TT32961
    pedrobaeza authored and carolinafernandez-tecnativa committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    0b0e1f2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    116be5b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    357ca84 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8b1d4b3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fadf405 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ad93b36 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    31d9680 View commit details
    Browse the repository at this point in the history