odoo/odoo#238152

Created by POS IoT, David Monnom (moda)
Merged at e0d282109642790eb9b66b6b6529697d79b67de0

Statuses:

label
odoo-dev:18.0-revert_18.0-opw-4935195-pos_event_sale-roen-moda
head
c5c45adbbfbc3b0a5db8b09c2575dce336953448
merged
2 days ago by POS IoT, David Monnom (moda)
odoo/odoo
18.0 #238152

[REV] pos_event_sale, event_sale: revert recent changes to event sale

This recent commit is causing dependencies issues in some Odoo database that rely on the pos_event_sale module. To maintain stability and ensure compatibility, reverting the recent changes made to the event sale reports and related files.

Original commit:
#226544/commits/e968ff178a0f0d11949dfac67b98e1b8acf771b0

Add event registration sold through PoS to the event sale report.

Steps to reproduce:

  • Create an event with tickets
  • Sell a ticket through the PoS
  • Go to the event sale report
    > Observation: The ticket sold through PoS is not included in the report

Why the fix:

We modify the SQL query of the event sale report to include event registrations sold through PoS. We also make sure to remove duplicates from the original query.

opw-4935195