Wednesday, July 26, 2023
7 changes · master
New functionality added to Odoo
Businesses can now define combo-style products, such as meals with selectable options, from the back office. This lays the groundwork for point of sale and self-ordering flows to offer bundled product choices more easily.
Original PR description
In this PR we introduce the ability to create product combos. Now any product can be turned into a combo meal by defining the different combo choices it contains. In this PR, we add the backend logic and the backoffice views needed for this feature. Afterwards, different modules will be able to use the platform provided by this PR in order to integrate `product combos` in their flows. Such modules are the `point_of_sale` and `pos_self_order`. Task: 3430635 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
Live chat teams can now invite users directly from the member list, making it faster to add the right colleagues to a conversation. Suggested invitees are prioritized by availability and past invitation frequency, with language information shown to help choose the best person.
Original PR description
This PR focuses on partner invitations for livechat channels: - Add "invite a user" button to the member list - Sort partners by availibility (partner is a livechat operator and connected) then most invited users (by the current partner) - Display partner lang of suggested partners part of task-3332872 
Resolved issues and error corrections
This fixes an issue where edits made in a pop-up form for a read-only related list could remain even after the user chose to discard changes. Users can now rely on discard actions to fully undo those edits and restore the original record state.
Original PR description
Before this commit, discard management was incorrect when you had a non-editable x2m. This could result in changes not being completely undone.
How to reproduce:
- Go to a form view with an uneditable x2m
- Click on a record in the x2m
- Edit the record in the form view dialog
- Click on save
- Reopen the same record
- Click on discard
- Click on the discard in the main form view
- Reopen the same record
Before this commit:
The change applied is still present
After this commit:
The applied change is no longer there. The original state has been restored.
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-prManagers can no longer refuse a leave allocation after an employee has already used days from it. This prevents incorrect negative leave balances and directs users to resolve the related leave records first.
Original PR description
Before this commit it was possible to refuse a leave allocation even if the employee already took leaves using time from this allocation. If this allocation is then refused, you get a negative balance for the allocated days, which should not be possible. With this commit, we raise a UserError when trying to refuse such an allocation, stating that the user should handle the problematic leaves first. task-3330749 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting users now receive a warning when manually reconciling entries linked to different partners, helping prevent accidental mismatches. If they continue, Odoo automatically creates the needed transfer entries by partner and currency, making reconciliation safer and easier to reverse if canceled.
Original PR description
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
Users can now hover over avatar fields to see a quick profile card with contact details and messaging options. When HR apps are installed, the card also shows work-related information such as job position, department, phone number, profile access, and leave-aware availability, helping teams identify and contact colleagues faster.
Original PR description
This commit adds the possibility to see additional information about a user with a card that appears when hovering avatar user fields for a set amount of time. This card contains the following information: - Avatar - Chat status - Name - Email - Button to send message and with HR installed: - View profile Button - Job position - Department - Phone number - Advanced chat status (when hr_holidays is installed) Task-3167110
Fixes an error that could occur when creating a new user. This helps administrators add users reliably without encountering a technical traceback.
Original PR description
The combination of the new basic model and this change dc4dcead6ed5e16eebdf7a9f79afea31b24ec33f made it so that creating a new user would fail with a traceback. This commit fixes the issue by making sure that the company_id that is used withing the initial onchange is a integer, and not a new-id. 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