[19.0][MIG] sale_crm_event_reservation: Migration to version 19.0 - #546
Merged
OCA-git-bot merged 17 commits intoAug 18, 2026
Merged
Conversation
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. @Tecnativa TT27664 [UPD] Update sale_crm_event_reservation.pot [UPD] README.rst
For complying with manifestoo requirements.
Member
|
/ocabot migration sale_crm_event_reservation |
victoralmau
suggested changes
Aug 18, 2026
carlos-lopez-tecnativa
suggested changes
Aug 18, 2026
|
Additionally, could you squash the administrative commits? |
Currently translated at 100.0% (26 of 26 strings) Translation: event-15.0/event-15.0-sale_crm_event_reservation Translate-URL: https://translation.odoo-community.org/projects/event-15-0/event-15-0-sale_crm_event_reservation/es/
Currently translated at 100.0% (27 of 27 strings) Translation: event-17.0/event-17.0-sale_crm_event_reservation Translate-URL: https://translation.odoo-community.org/projects/event-17-0/event-17-0-sale_crm_event_reservation/it/
…der with Form to respect blocks Manage partner blocking when creating orders with Form, redirecting to standard action if there is no partner. Order creation with Form is maintained and partner blocking is handled with conditional redirection to ensure that order lines are created correctly and all associated logic is executed, which does not happen if the standard action `action_new_quotation` is used, which only creates the order without lines. However, when using `Form`, if the contact has a blocking message that prevents the partner from being assigned, order creation fails with a required field error. To avoid this, a conditional is added that detects if the partner could not be assigned in the form, and in that case, it redirects to the standard action `action_new_quotation`, passing the partner via context (`default_partner_id`) so that the blocking message is displayed normally, respecting the Odoo flow. This achieves the following: - Create the order with lines correctly when possible. - Display the partner block if necessary without throwing errors. - Do not lose the basic Odoo validation.
Don't compare a date with a datetime field: ``` File "/opt/odoo/auto/addons/sale_crm_event_reservation/wizards/crm_lead_event_sale_wizard.py", line 96, in <lambda> or ticket.end_sale_datetime >= fields.Date.context_today(self) TypeError: can't compare datetime.datetime to datetime.date ``` TT57560
pilarvargas-tecnativa
force-pushed
the
19.0-mig-sale_crm_event_reservation
branch
from
August 18, 2026 13:09
19ab7c4 to
9cb953a
Compare
Member
|
/ocabot merge nobump |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
Congratulations, your PR was merged at e74da6a. Thanks a lot for contributing to OCA. ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@Tecnativa TT64001
@victoralmau @carlos-lopez-tecnativa please review