Saturday, September 14, 2024
1 change · saas-17.4
Resolved issues and error corrections
This fix prevents the Point of Sale from loading unnecessary event attendee data and avoids errors caused by accessing records from other companies. Businesses with many event registrations or multi-company setups should see more reliable POS startup, product information, ticket, and pricelist loading.
Original PR description
- pos_event: it tries to load all registrations and answers for events, which is not needed and makes the POS unable to load when you have events with a lot of attendees. - pos_event: it tries to get the tickets of events of all companies, but doesn't have access to taxes on thoses products, so raise issues. - point_of_sale: when you get info of a products, it takes all warehouses of any company, but cannot access locations of other companies. So we restrict to current company. - point_of_sale: when it loads pricelists, it tries to get pricelists items of other company, which makes no sense and raises errors. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr