Monday, December 4, 2023
15 changes · 17.0
Resolved issues and error corrections
The draft record message “Creating a new record...” now correctly displays the current user as its author. This removes a confusing blank author in the chatter and makes draft activity easier to understand.
Original PR description
Before this commit, when a record is in draft, the chatter message "Creating a new record..." shown no author. The intended showing is to display current user as author of this message. Persona model requires `id` and `type`, the latter to determine whether the persona is a guest or partner. Only the id of current user was provided, so it was not enough to determine the appropriate `Persona`.
Recent chat channels now appear in a consistent order even when they have the same activity time. This reduces rare, confusing ordering issues and helps prevent related chat palette errors during startup.
Original PR description
Fallback to ID compare when the dates are the same. Added some extra steps in the test to help further debugging if this PR does not completely resolve the issue. runbot-28637
Pivot views now remove repeated date/grouping choices before requesting report data. This prevents reports and spreadsheet pivots from failing when the same field is grouped in overlapping ways, keeping business analysis views reliable.
Original PR description
Since https://github.com/odoo/odoo/pull/103510, the read_group parameter "groupby" can no longer contain implicit duplicates. For example groupby=['date', 'date:month] doesn't work anymore. Here we remove all duplicates from groupby before making a read_group.
This update fixes a display issue where the day selection control could be misplaced or less responsive in timesheet-related calendar views. The layout behavior is now applied only where appropriate, helping users navigate dates more reliably without disrupting the timesheet interface.
Original PR description
In commit f9222c4976a78c2f02264db897bc9826bbda0944 the class `order-3` is applied on the ViewScaleSelector component but it breaks the view in timesheet. This commit creates a props to contextually use this class on the component. task-3580643 Enterprise: - https://github.com/odoo/enterprise/pull/50055  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures receipt headers in Gulf region point of sale flows receive the country-region flag they need. It prevents inconsistent or missing regional receipt information for GCC and Saudi localization setups.
Original PR description
There was an inconsistency due to the separation of ReceiptHeader from OrderReceipt. The 'is_gcc_country', which is utilized in both l10n_gcc_pos and l10n_sa_pos modules within the ReceiptHeader, was not being appropriately passed due to this separation. This commit resolves the issue by overriding the 'getReceiptHeaderData' method to include the 'is_gcc_country' in the ReceiptHeader data. This ensures that the ReceiptHeader correctly reflects the necessary information. opw-3610862 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website editor now handles a missing text selection safely when users select text around a banner and apply a color. This prevents an error screen and keeps page editing uninterrupted.
Original PR description
**Current behavior before PR:** selecting text after banner to inside the banner and apply color gives traceback because the selection is null or rangeCount of selection is 0. **Desired behavior after PR is merged:** Now after adding check for selection and rangeCount selecting text after banner to inside the banner and apply color will not give traceback. task-3500897 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The course join popup now displays correctly when a visitor clicks “Join This Course” without being logged in. This prevents an error and helps prospective learners continue toward signing in or joining a course smoothly.
Original PR description
**Before this PR**: Clicking on the 'Join This Course' button without login triggers an error. Reason: The`'slide.course.join.popupContent` template contains multiple root nodes. For correct template rendering text and anchor tags are placed inside `div` tags. **After this PR**: Correct popup content renders when clicking on the 'Join This Course' button, without login. **Task**-3559181
A small issue in an automated Point of Sale sales test was corrected after a previous update used an outdated test step format. This helps keep internal testing reliable and reduces the risk of future changes being blocked by a faulty test.
Original PR description
The forward port commit 96645bd31b2ea9c924521aa65734c65bb055c77c introduce a wrong tour step which uses the old way of declaring a tour step in pos. We fix that in this commit. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Saving newly added configuration sections now works consistently after the first save. This prevents errors that could interrupt setup or maintenance of IoT-related configuration changes.
Original PR description
[FIX] config.py Traceback when saving new added section
Before: When creating new section in odoo.conf (eg: [IOT]), first
save is ok since it doesn't exists. But subsequent save fails ->
configparser.DuplicateSectionError: Section 'IOT' already exists
Now: Subsequent saves work
mool
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prUser avatar images on eLearning pages now keep a consistent circular shape even when the original image is not square. This improves visual polish and prevents stretched or oval-looking profile pictures.
Original PR description
Prior to this commit, if the avatar image didn't have a 1:1 ratio, the `rounded-circle` image would be oval instead of the intended circle. To fix this we add the `o_avatar` class to the `img`, and since this class already contains `object-fit: cover` we can remove it from the element's inline styles. <img width="63" alt="Screenshot 2023-11-22 at 12 48 47" src="https://github.com/odoo/odoo/assets/19491443/80c31085-991d-48b8-a398-e41c171f1ab0"> _ratio 3:5_ | Before | After | |--------|--------| ||| task-3607243 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Clicking a website editor snippet now shows the expected helper tooltip, matching the guidance users see during drag-and-drop actions. This restores a small but useful cue that helps users understand how to work with snippets in the editor.
Original PR description
Prior to this commit, clicking on a snippet did not display the helper tooltip which would usually display After this commit, it does, however it's unknown why ATM, needs to be investigated further. task-3582562
This fix restores the hiding of the appraisal survey type option in the survey application. The appraisal type is only meant for the HR appraisal module and should not be visible to survey users. A recent technical change inadvertently made this option visible again, and this fix corrects that by targeting the appraisal option with updated styling rules.
Original PR description
In odoo/enterprise#38268, we have added a survey type to allow to simplify the survey creation by only displaying relevant options for the type chosen. We have also added the appraisal type in the hr_appraisal_survey module, and hidden it in the survey views because that type is only relevant for the appraisal module and we don’t want to see it in the survey app. From 16.4, that type is no longer hidden in the app survey. This fix solves the problem. Technical notes: Following the change in odoo/enterprise#37387 that makes "primary" the override of the survey form that hide the appraisal type, the appraisal type is no longer hidden in the survey app. This is because in the override, we add a class used in css to hide that option (no longer present in survey because of the primary). To avoid modifying view in stable, we target the "appraisal" option without that added class. Task-3613370 Forward-Port-Of: odoo/enterprise#51591
This update fixes a display issue in the Field Service module where partner names and cities were incorrectly breaking onto separate lines. The fix ensures this information displays properly on the same line, improving the readability of customer details in project sharing views.
Original PR description
This commit ensures the partner name and partner city are displayed in the same line. It also updates the code according to the changes made in community (see #144492) Task-3383519
This update corrects the configuration for the Chinese yuan offshore currency (CNH) to properly reference the newly added currency code. This ensures that currency rate systems correctly identify and process offshore Chinese yuan transactions without errors or mismatches.
Original PR description
[FIX] res_config: change the Chinese yuan offshore currency unique name/code to point to the newly added currency. complementary of [adding the CNH currency PR](https://github.com/odoo/odoo/pull/144331) opw-3599124 Forward-Port-Of: odoo/enterprise#51831
This update corrects how the Field Service Stock module references product quantities to align with recent changes in the core Odoo system. The fix ensures the module uses the correct field name for product quantity calculations, improving consistency across the system and preventing potential data handling issues.
Original PR description
Small refactoring to be coherent with odoo/odoo#144574 Correction of the changes of odoo/enterprise#48709