Wednesday, December 24, 2025
44 changes · saas-19.1
New functionality added to Odoo
This update enhances Odoo's barcode scanning capabilities by adding support for decoding EPCs provided as hexadecimal values. This allows for greater flexibility in reading data from various barcode and RFID devices, expanding compatibility and improving data capture accuracy. A related refactoring is planned for the main Odoo codebase.
Original PR description
Add an EPC decoder as a front-end service. The decoder takes an EPC as a hexadecimal input and return the resulting URI or Element String. On incorrect input or unsupported decoding, the returned value is null. Currently support SGTIN-96, SGTIN-198, SSCC-96, SGLN-96, SGLN-195. This commit also adds support for reading values from an RFID device without requiring a specific mobile app. To achieve this, we use the same entry point as the one used for barcode scanning. As a result, a refactoring of the naming is planned on the master branch. 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
This update introduces basic localization support for Mauritania within the Odoo system. It includes translated data and configurations necessary for businesses operating in Mauritania to use Odoo correctly, aligning with local tax and accounting regulations. This enhancement expands Odoo's global reach and compliance capabilities.
Original PR description
task-4236158 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 Forward-Port-Of: odoo/odoo#241003 Forward-Port-Of: odoo/odoo#211906
This update adds essential financial reports – Balance Sheet and Profit & Loss – to the Odoo Enterprise system for Mauritania. This expansion allows Mauritanian businesses using Odoo to generate and analyze key financial statements in their local currency and reporting format, improving compliance and financial insights.
Original PR description
Add the Balance Sheet and Profit & Loss to the Mauritanian localization. task-4236158 Forward-Port-Of: odoo/enterprise#100897 Forward-Port-Of: odoo/enterprise#86530
Enhancements to existing features
This update clarifies the filter options within the account follow-up reporting system. It now specifically targets 'Overdue Customer Invoices,' making it easier for finance teams to quickly identify and manage unpaid invoices. This change improves reporting accuracy and streamlines the process of tracking overdue payments.
Original PR description
opw-5232434 Forward-Port-Of: odoo/enterprise#100595
Resolved issues and error corrections
This update corrects a bug where the 'convert' option repeatedly appeared in the Todo breadcrumb after a task was created from a Todo. This prevented users from correctly managing converted tasks, particularly when changing project assignments. The fix hides the 'convert' option when a project is assigned, streamlining the task management process.
Original PR description
Steps to reproduce: - Create a Todo and convert into task using cog Menu option. - Todo is converted to task and is displayed. - Through breadcrumb go back to Todo - Try to convert it again Issue: - The converted todo is again converted (change of project etc) Fix: - Hiding the convert cog menu when a project is set. task-5075327 Forward-Port-Of: odoo/odoo#240821 Forward-Port-Of: odoo/odoo#230031
This update allows users to now accurately display the account holder's name alongside bank details, even when it differs from the partner's name. Previously, the account holder name was automatically linked, but this change ensures correct display regardless of name variations, enhancing data clarity and accuracy.
Original PR description
Allow changing of the account holder name in case it is different from the partner name which was the computed default. Task-5222712 [Related PR](https://github.com/odoo/enterprise/pull/98572) Forward-Port-Of: odoo/odoo#233965
This update enhances Odoo's stock management capabilities by adding support for reading data from RFID devices. Instead of needing a dedicated mobile app, users can now scan RFID tags directly, streamlining inventory processes. A related code refactoring is planned for the main Odoo branch.
Original PR description
Now, we have an EPC decoder, we can add support for reading values from an RFID device without requiring a specific mobile app. To achieve this, we use the same entry point as the one used for barcode scanning. As a result, a refactoring of the naming is planned on the master branch.
This update fixes an issue where users were always redirected to a guest discussion page when sharing an invitation link. Now, internal users are correctly directed to the main discuss app, improving the user experience and streamlining the invitation process. This change is part of a larger effort to optimize the Odoo invitation flow.
Original PR description
When sharing an invitation link, user is always redirected to the discuss guest page. However, it's better to redirect internal users to discuss. This commit redirects internal users to the discuss app from the invitation link. part of task-4873812
This update fixes an issue where opening invalid account return records previously displayed all related `account.move.line` records, even when only one or none matched. The change ensures that the check action is correctly applied, preventing inaccurate record displays and improving data reliability.
Original PR description
Before this PR, opening invalid records from account return checks could show all `account.move.line` records when there were 0 or 1 matching record(s). Technical Reason: In `_get_records_action` domain is only applied when there are multiple records, so without a domain, all records are opened. With this PR, the domain is passed through the method arguments, and also action will be none if there are no records. task-5427746 Forward-Port-Of: odoo/enterprise#102424
This update prevents guest users from seeing the unpin button in the PinnedMessagesPanel, resolving a confusing user experience. Previously, guests could click the button but the server rejected their attempts to unpin, leading to frustration. This change ensures guests only see the functionality they are authorized to use, improving overall usability.
Original PR description
**Description of the issue/feature this PR addresses:** ---------------------------------------------- Currently, guest users in PinnedMessagesPanel can see the unpin button on pinned messages, but…
**Description of the issue/feature this PR addresses:** ---------------------------------------------- Currently, guest users in PinnedMessagesPanel can see the unpin button on pinned messages, but the server correctly rejects their unpin requests. This creates confusion and a poor user experience where external users see functionality that doesn't work for them. **Current behavior before PR:** ---------------------------------------------- - Guest users see the unpin button on pinned messages - Clicking the unpin button results in server rejection - UI shows functionality that guest users cannot actually use **Desired behavior after PR is merged:** ---------------------------------------------- - Guest users cannot see the unpin button on pinned messages - Internal users continue to have full pin/unpin functionality - UI accurately reflects user permissions and capabilities - Better user experience with appropriate access control Task-5033295 ---------------------------------------------- I confirm I have signed the CLA and read the PR guidelines at https://www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240979 Forward-Port-Of: odoo/odoo#229211
This update fixes a minor inconvenience where users had to manually refocus the composer after replying to a note. Now, clicking 'reply' automatically brings the composer back into focus, making the note response process smoother and faster. This improves user efficiency and overall usability.
Original PR description
**Current behavior before PR:** When the composer is already open, clicking reply on a note does not refocus the composer. The user must manually click inside the composer before typing. **Desired behavior after PR is merged:** When clicking reply on a note, the composer is automatically focused, even if it was already open, allowing the user to continue typing immediately. task-[5410878](https://www.odoo.com/odoo/project/1519/tasks/5410878) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240666
This update resolves a crash in the Point of Sale mobile view when editing payments and viewing customer information. The fix ensures that necessary data related to customer activity is loaded, preventing the POS from freezing. This improves overall stability and user experience for our POS users.
Original PR description
Steps to reproduce: =================== - Use the POS in mobile view - Complete a payment - Click on "Edit Payment" - Select customer or Edit customer Issue: ====== - POS crashes when rendering the partner kanban view - Frontend error occurs because `activity_state` is missing in the record Cause: ====== - The partner kanban view references activity-related fields - `activity_state` was not loaded when the view is rendered in POS Fix: ==== - Explicitly load `activity_state` in the kanban view (invisible) Task:5406890
This update fixes a bug that caused the ClickEverywhere function to repeatedly test all applications after a page reload. Now, the function correctly stores the application's ID, ensuring it only tests the intended application, improving test reliability and efficiency.
Original PR description
The clickEverywhere function can be executed with one app. To accomplish this, the xmlID should be passed as a parameter to the function. Before this commit, the xmlID of the requested application was not stored in the status of the current execution saved in localStorage. If a reload occurs while the clickEverywhere function is executing, it will lose this information and continue testing all applications instead of only the requested one. runbot.build.error: 234747 Forward-Port-Of: odoo/odoo#240943
This update speeds up the calculation of product quantities, particularly for databases with many products where most have zero stock. By optimizing the computation process, the system now runs significantly faster – reducing processing time by over 50% when dealing with a large number of products. This improves overall system responsiveness and efficiency.
Original PR description
In databases with a large number of products, most of them will have 0 quantities on hand. This commit fast-tracks the computation of 0 qty products, skipping unnecessary `uom_id` and `float_round()` computations in _compute_quantities_dict and skipping unnecessary `__set_item__` in _compute_quantities. Benchmark | `product.product` count | Before this PR | After this PR | | ----------------------- | -------------- | ------------- | | 700,000 | 52.84s | 28.33s | opw-4930856 Forward-Port-Of: odoo/odoo#241017 Forward-Port-Of: odoo/odoo#239687
This update corrects a minor inaccuracy in the documentation for VoIP phone settings. The previous reference to a non-existent method has been updated to accurately reflect the correct method used within the system. This ensures clarity and consistency for users configuring VoIP features.
Original PR description
A mention to `_voip_get_phone_field` appeared in [1] but this seems to never have existed. In any case, `_phone_get_number_fields` was used by the codebase in the end and should thus be the one mentioned. [1]: https://github.com/odoo/enterprise/commit/52b3065993c41c6b7c65dda586a66fdd865b3afd Forward-Port-Of: odoo/enterprise#102804
This update fixes a problem where taxes weren't correctly applied to Point of Sale transactions, specifically down payments and full settlements. Now, taxes set on Sale Orders are consistently applied to POS transactions, ensuring accurate tax calculations for all sales. Additionally, the color styling of buttons has been updated for a more consistent user experience.
Original PR description
Before this commit: ------------------- - If a tax was set on the Sale Order line, it was not applied on the down payment created from the POS. - If no tax was set on the Sale Order line, the POS settlement incorrectly applied the product’s default tax when settling the order. After this commit: --------------------- - The tax defined on the Sale Order line is now consistently applied to both down payments (partial settlements) and full settlements from the POS. - If the Sale Order line has no tax, then no tax is applied on either partial or full settlements and if have tax the tax will be applied. - Added consistent color styling to all buttons. task: 5269354 Forward-Port-Of: odoo/odoo#238051
This update resolves a restriction preventing users without the 'hr' group from accessing bank account information. Previously, a technical requirement limited access to a related field, causing errors. This fix ensures all users can manage bank accounts correctly.
Original PR description
The field `employee_salary_amount_is_percentage` is computed, but the computation[^1] relies on `hr_employee.salary_distribution`, a field restricted[^2] to members of `hr.group_hr_user`. If you try…
The field `employee_salary_amount_is_percentage` is computed, but the computation[^1] relies on `hr_employee.salary_distribution`, a field restricted[^2] to members of `hr.group_hr_user`. If you try to check a bank account without an hr group, you will get an access error: ``` odoo.exceptions.AccessError: You do not have enough rights to access the field "salary_distribution" on Employee (hr.employee). Please contact your system administrator. Operation: read User: 21 Groups: allowed for groups 'Employees / Officer: Manage all employees' ``` This also happens during the mock crawl test of upgrades if the admin lacks the group. To reproduce in standard: - Install contacts and hr. - Use a user without hr permissions. - Try to create a new bank account. [^1]:https://github.com/odoo/odoo/blob/57573994313988837d89329d77ab1def63a8cfdd/addons/hr/models/res_partner_bank.py#L26 [^2]:https://github.com/odoo/odoo/blob/57573994313988837d89329d77ab1def63a8cfdd/addons/hr/models/hr_employee.py#L147 --- I've also added another commit to make the percentage symbol stick to the salary amount. Before: <img width="366" height="38" alt="image" src="https://github.com/user-attachments/assets/ef890852-50ca-40b1-8c09-07c4aa2d330d" /> After: <img width="219" height="35" alt="image" src="https://github.com/user-attachments/assets/88e4a6c4-bc3f-483e-97f9-3080c6aa85c9" /> I know the number is not formated correctly but I don't think I can do more just from the view. Forward-Port-Of: odoo/odoo#239298
This update resolves a bug that prevented administrators with the 'group_system' access level from editing standard views within the Odoo website. The fix restores the necessary permissions, ensuring all users can manage views correctly. This improves usability and prevents disruptions for administrators.
Original PR description
There was an issue where, if someone was to install `mass_mailing` without `website`, a user with `group_system` could not read `ir.ui.view` records. Steps to reproduce: - install mass_mailing, web_studio - connect as an admin user - try to edit a view (not a snippet) with studio Issue: - access error In a previous [commit], new rules were introduced in `mass_mailing` to allow `group_mass_mailing_user` to handle custom snippet (views). However, a superseding rule for `group_system` was missing in `mass_mailing`, to allow an admin to continue to manage other types of views. [commit]: https://github.com/odoo/odoo/commit/6d39d72453842cf0d22880e14b1fa182c23538e6 task-5436780
This update fixes a minor translation issue within the Odoo accounting modules for Belgium and the Netherlands. Specifically, the English names of certain accounts have been updated to match their correct translations, ensuring accurate reporting and data consistency. This change improves the overall accuracy of financial data within the Odoo system.
Original PR description
Following odoo#227754, a couple of translations for changed accounts need to be updated to correctly reflect their english name. no-task --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#241069
This update corrects a recent change that incorrectly included legal reserves in the Belgian Balance Sheet reports. This change was unnecessary as legal reserve requirements have been removed since 2024. This reversion ensures accurate reporting for our Belgian clients.
Original PR description
In #95062, the BE Balance Sheet was changed to include Legal Reserves. However, since this is not needed since 2024, this change can be reverted. no-task Forward-Port-Of: odoo/enterprise#102766
This update fixes a bug where product templates were incorrectly calculating discounted prices, resulting in inflated prices being displayed. The issue stemmed from a misidentification of product types – specifically, templates were not being recognized correctly. This change ensures accurate discounted price calculations for all product types, including templates, improving price accuracy in the catalog.
Original PR description
Steps to reproduce: 1- Add a product that has variants to a vendor pricelist. 2- Set the vendor's unit for this product to a one different than the product's unit. 3- Create an RFQ with from that vendor. 4- Open the catalog. Issue: `discounted_price` is miscalculated and causes wrong price calculation, it shows the price multiplied by its factor. i.e if a price of pack of 6 is 10$, it will be shown as 60$. Cause: We only check for `product_id` not for `product_tmpl_id` when computing the `price_discounted`, so if its a template, `product_id` is false, and its sent with `_compute_price()` and the same price is returned since there's no unit and after that its sent to `_get_product_price_and_data` where its converted to the new unit. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#241115 Forward-Port-Of: odoo/odoo#240519
This update simplifies the payment screen by removing the unnecessary guest count field and automatically defaulting the numpad to the last entered value. Discarding the input now correctly maintains the last guest count, streamlining the ordering process for customers. This change improves user experience and reduces potential errors.
Original PR description
after this commit: - The payment screen no longer shows extra guest count. - The numpad will display the last guest count. - Discarding will keep the last guest count unchanged. - Use hotkey handling so Enter confirms input only, ignoring any numpad button currently in focus. task: 5364073 Forward-Port-Of: odoo/odoo#237877
This update ensures users retain their last selected spreadsheet dashboard when navigating back through the application's breadcrumb navigation. Previously, returning to the dashboard reset it to the default. This change improves user experience by maintaining the user's current view.
Original PR description
### Description After [PR#223171](https://github.com/odoo/odoo/pull/223171/), `useSetupAction` `getLocalState` exports the active dashboard through the loader state (`dashboardLoader.activeDashboardId`). The restore path still read `state.activeDashboardId`, so returning via the breadcrumb reset to the first dashboard. Read the saved loader state to keep the last selected dashboard. Task: [5391349](https://www.odoo.com/odoo/project/2328/tasks/5391349) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#239172
This update fixes a minor inconvenience for users. Previously, clicking 'Jump to Present' would cause the composer to lose focus, requiring manual adjustment. Now, the composer automatically regains focus on desktop after this action, improving the user experience.
Original PR description
**Current behavior before PR:** clicking "Jump to Present" caused the composer to lose focus, forcing users to manually focus the input before typing. **Desired behavior after PR is merged:** The composer automatically regains focus on desktop after clicking "Jump to Present". task-[5035977](https://www.odoo.com/odoo/project/1519/tasks/5035977) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#241113 Forward-Port-Of: odoo/odoo#227781
This update corrects a bug where inactive accounts were incorrectly displayed in financial reports. The change replaced a deprecated field with an 'active' field, which now prevents inactive accounts from being included in report calculations and audits. This ensures accurate reporting for all accounts, regardless of their status.
Original PR description
In replacing the deprecated field with the special `active` field the account_codes prefix engine no longer displays values for accounts that are inactive.
This disables the active test in:
- computing the domain for accounts
- auditing the value (since the domain is `('account_id.code', 'in'...)`
opw-5226153
Forward-Port-Of: odoo/enterprise#101540
Forward-Port-Of: odoo/enterprise#100885This update adds a field to the salary configuration to allow users to specify the correct bank account holder name. This is a security enhancement to prevent payment delays caused by incorrect account holder information, ensuring timely and accurate payroll processing. Related tests and documentation have also been updated.
Original PR description
Law is now more secure and you need to have the correct name on the bank account holder otherwise payment need to be manually confirmed everytime. Therefore a field is added to the salary config to allow the user to set his account holder name separately from his actual name in case it is different. Task-5222712 [Related PR](https://github.com/odoo/odoo/pull/233965) Forward-Port-Of: odoo/enterprise#98572
This update prevents non-member internal users from seeing a misleading close confirmation dialog when closing a livechat window. Previously, this dialog incorrectly suggested they could end the session, leading to a confusing user experience. Now, non-members simply close the window without any prompts, ensuring a clearer and more accurate livechat interaction.
Original PR description
**Description of the issue/feature this PR addresses:** ---------------------------------------------- When an internal user who is not a member of a livechat channel opens a chat window for a…
**Description of the issue/feature this PR addresses:** ---------------------------------------------- When an internal user who is not a member of a livechat channel opens a chat window for a conversation in “looking for help” mode, closing the window incorrectly displays the Leave Conversation confirmation dialog. This is misleading because non-members cannot actually end the livechat session—the confirmation dialog suggests an action they do not have permission to perform. **Current behavior before PR:** ---------------------------------------------- - Non-member internal users see the close confirmation dialog - The dialog implies they can leave/end the livechat, which is not true - UI shows functionality that does not apply to them - Poor user experience and inconsistent behavior **Desired behavior after PR is merged:** ---------------------------------------------- - Confirmation dialog is shown only to actual livechat members(assigned agent or visitor) - Non-members close the chat window immediately without any prompt - UI accurately reflects real permissions - Clearer and more consistent livechat experience Task-5384846 ---------------------------------------------- I confirm I have signed the CLA and read the PR guidelines at https://www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240029
This pull request resolves a bug in the Salary Calculator that prevented it from displaying correctly when an employee had a resource calendar assigned. The fix ensures the calculator functions properly regardless of whether an employee is linked to a calendar, improving payroll accuracy. This impacts all users who utilize the Salary Calculator feature.
Original PR description
This commit fixes an issue in the Salary Calculator where all fields were displayed as empty when selecting an employee with a resource_calendar_id set. Steps to Reproduce : First Change to either…
This commit fixes an issue in the Salary Calculator where all fields were displayed as empty when selecting an employee with a resource_calendar_id set. Steps to Reproduce : First Change to either the default company (MyCompany) or Demo Belgian company Payroll -> Employee -> Salary Calculator -> choose an employee. Bug : All fields in the Salary Calculator view are empty (evaluated as False). Root Cause : Inside _compute_salary, the method _generate_salary_simulation_payslip writes on payslip.version_id using: payslip.version_id.write(new_payslip_vals) Because the is_simulation_offer key was missing from the context, this write triggered a full payslip computation, generating payslip lines. During this computation, compute_sheet() performs an unlink() on existing payslip lines. Since the Salary Calculator view fields are only cached at that point, the unlink causes the cached values to be lost, resulting in all fields being evaluated as False. Fix : Ensure that is_simulation_offer is present in the context when writing to payslip.version_id, preventing payslip line generation and avoiding the unintended unlink() during salary simulation. Task - 5387155
This update fixes a technical error that prevented some users from opening timesheets, specifically when using the demo data. The fix involves adjusting menu sequences and granting necessary access permissions to ensure all users can correctly access and manage their timesheets. Additionally, a problem with fake data generation was resolved to prevent validation errors.
Original PR description
Steps to reproduce: - Login through user who has user:own timesheets only access or group_hr_timesheet_user only (basically `user demo` when demo data is installed). - Open timesheets apps. Issue: -…
Steps to reproduce: - Login through user who has user:own timesheets only access or group_hr_timesheet_user only (basically `user demo` when demo data is installed). - Open timesheets apps. Issue: - Traceback appears. Reason: - Here due to manually pushing `Timesheet Assistant Menu` having lower sequence(7) than `My Timesheets` (default sequence 10), so action is called which tries to search for which a base user will never have access to. Thus a traceback. - Also own timesheets user doesnt have access to `aw.rule` model which is need to open `Timesheet Assistant Menu`. Fixes: - Added sudo to search through action windows which is needed. - Reorder menu items sequence so we have `My Timesheets` in the starting and then `Timesheet Assistant Menu` is loaded. - Added a entry in model access CSV to give read access to aw.rule model records. Another small issue was when we generate fake data using `AwFakeEventsService` we source out all type of projects and tasks, which might cause some errors as they dont have account_id needed to make timesheets thus throwing validation on save. Fixed that by adding domain in fetch non-template data. task-5438048
A technical issue with a test for the HTML editor's link functionality was resolved. The fix addressed a problem where the test wasn't waiting properly, causing the link popover to close prematurely and disrupting subsequent steps. This ensures the link functionality works reliably.
Original PR description
Description of the issue this PR addresses: This test was not awaiting a step properly which somehow moved the selection to the overlay container which made the link popover to close resulting in further steps not working properly. runbot-234926 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves a sporadic failure in the stock barcode tour due to timing issues. By adding a check to ensure data is loaded before proceeding, the tour now runs reliably. The changes also simplify the tour and add extra steps to prevent future disruptions.
Original PR description
Test `test_no_split_uncompleted_done_move` is failing non-deterministically after https://github.com/odoo/enterprise/pull/98184 Because it was going too fast and sometimes the lines wouldn't have been loaded by the time its the step's turn. A check was added in order to make sure the lines are loaded before moving onto the next steps This commit also simplifies the tour and adds extra steps to avoid failure. Runbot: 234351 Forward-Port-Of: odoo/enterprise#100329
This update resolves a technical issue related to how the system supports Peppol document types. The old CNAME logic has been removed, aligning with the current Peppol standard (NAPTR). This ensures correct document handling when using the DK Company accounting module.
Original PR description
The function `_check_document_type_support` is extended in `l10n_dk_nemhandel` (from `account_peppol`). The function causes an issue since it contains the old CNAME logic while peppol does not use it anymore; but the newer NAPTR. This commit removes the function - It does not do anything different than the version in `account_peppol` (and it would cause issues if it did) - The function is only called in `account_peppol` - The module does not depend on `account_peppol` Reproduce: - Install `l10n_dk_nemhandel`; check that `account_peppol` is installed - Select `DK Company` - Activate Peppol in test mode - Go to the `DK Company` contact (customers) - Select "By Peppol" and "EU Standard (Peppol Bis 3.0)" - Traceback should appear opw-5232123 Forward-Port-Of: odoo/odoo#241237 Forward-Port-Of: odoo/odoo#241083
A recent update introduced a bug related to currency changes in payment journals. Specifically, when multiple payment methods with different accounting accounts are used, a 'singleton error' occurred. This fix resolves this issue, ensuring accurate currency conversions and preventing payment processing disruptions.
Original PR description
036530a8983e485ac1ad0b9444a6aba01caabc07 introduced a bug, because it can happen to have 2 (or more) payment method lines from the same payment method. If these PML have differents payment accounts, we get a singleton error. Steps: - On Bank journal, add a new outbound payment method line, which use the same payment method as the first default one (it should be 'Manual') - Set two different payment account for each line - Then change the currency of the journal -> Traceback (singleton error) opw-5384042 Forward-Port-Of: odoo/odoo#239521
This update fixes an issue where multiple loyalty programs on a product could cause incorrect discount application during POS orders. By adding a 'mutex' to control program updates, the system now reliably applies all discounts, ensuring accurate order totals. This improves the customer experience and prevents revenue loss.
Original PR description
When adding a lot of loyalty programs with discounts to an order the updatePrograms method could be called multiple times in parallel, that would cause an issue where some of the programs were not…
When adding a lot of loyalty programs with discounts to an order the updatePrograms method could be called multiple times in parallel, that would cause an issue where some of the programs were not applied correctly. Steps to reproduce: ------------------- * Create 7 loyalty programs that apply on the same product, each with a discount reward of 10%. (Give them different name) * Create a POS order with 1 unit of that product. > Observation: Only the 6 first programs are applied. Why the fix: ------------ The issue is happening because the updatePrograms is called multiple times in parallel, and when coming to this block of code : https://github.com/odoo/odoo/blob/f3e74f9b840efef7c567ba31acd6ac61c79b5d6d/addons/pos_loyalty/static/src/overrides/models/pos_store.js#L182-L188 The last program has 2 coupons in the `couponPointChanges`, so it will proceed to delete all the coupons of the concerned program. To avoid this we use a mutex to ensure that only one call to updatePrograms is happening at a time. opw-4974788 Forward-Port-Of: odoo/odoo#241023 Forward-Port-Of: odoo/odoo#239662
This update fixes a visual inconsistency in the Point of Sale (POS) interface. Previously, product images were always displayed in combo product configurations, regardless of the overall image visibility setting. Now, combo product configurations correctly reflect the configured image settings, ensuring a consistent and professional user experience.
Original PR description
Before this commit: ==================== In POS, when product images were configured to be hidden, the setting was correctly applied to normal products. However, in the combo product configurator, product images were still displayed, causing inconsistency with the configured behavior. After this commit: ====================== The combo product configurator now respects the product image visibility configuration, ensuring consistent behavior across all product types in the POS interface. Task-5163955 Forward-Port-Of: odoo/odoo#241257 Forward-Port-Of: odoo/odoo#231366
This update refines the visual appearance of the chat interface within Odoo, specifically in the Discuss app sidebar and chat bubbles. The changes reduce icon sizes and adjust spacing to improve readability and the overall user experience.
Original PR description
- reduce size of livechat status icon, thread icons, and im status in discuss app sidebar - reduce size of livechat status icon, thread icons, im status, and country flag in chat bubble - reduce slightly size of chat bubble and compensate with slightly increased gap between bubbles - fix spacing issue between hidden chat bubbles and visible chat bubbles Before / After <img width="593" height="890" alt="Screenshot 2025-12-24 at 13 36 01" src="https://github.com/user-attachments/assets/3ce8fec0-f842-49d9-9691-fe6d1666cd07" /> Before / After <img width="165" height="418" alt="Screenshot 2025-12-24 at 13 36 14" src="https://github.com/user-attachments/assets/bac55e93-bade-4d09-be51-21a768896675" />
This update resolves an issue where tax mappings weren't properly set when upgrading to version 19.1, leading to errors during session closing with Fiskaly. The fix ensures accurate data transmission by automatically correcting missing mappings and handling company names with hyphens, preventing transaction failures.
Original PR description
Steps to reproduce: ------------------------- - Upgrade from lower version to 19.0 or higher. - Start a fiskaly registered company's session. - Close the session after transactions. Issue: ------- -…
Steps to reproduce:
-------------------------
- Upgrade from lower version to 19.0 or higher.
- Start a fiskaly registered company's session.
- Close the session after transactions.
Issue:
-------
- Tax mapping used to send data to fiskaly is not set.
- If have `-` in company name or cash move reason and try to do cash move will give a tb.
Cause:
---------
- When the user's database is upgraded, the taxes already exist and the company is already registered. As a result, `l10n_de_vat_export_data` is never set, and since no tax changes occur, `l10n_de_vat_definition_export_identifier` is also not generated. This leads to incorrect values being sent to Fiskaly during the session closing request, causing errors.
- The cash statement name uses - as a separator, the current structure is `{session_name}-{move_type}-{statement_type}-{move_reason}` set from `_prepare_account_bank_statement_line_vals()` If move_reason or company name contains additional `-` splitting the whole name breaks the expected structure.
Fix:
-----
- We have added a check to identify any taxes that are missing their tax mapping If such taxes are found, we filter them and trigger the logic to set their mappings. However, if the main mapping reference value l10n_de_vat_export_data is not set, we first retrieve and update it. Once this reference is available, we update all taxes that were previously unset and then prepare the correct tax data.
As a result, the first session closing after the upgrade will automatically correct all issues both for customers who have already upgraded and for those who upgrade in the future.
- We first remove the `{session_name}-` prefix, then split the rest. Since move_type and statement_type never contain -, we take them directly not user inputs, and then rejoin everything from index 2 onward to reconstruct the correct move_reason.
Additional fixes:
--------------------
- Some places the limit of characters may exceed than what fiskaly is asking than it can give us an error so restricted all places where needed.
- We don't have check if the settlement is present if not getting id directly may cause error.
help ticket: 5362897, 5367425
Forward-Port-Of: odoo/enterprise#101468This update fixes an issue where pasted content in the website builder's translation mode wasn't correctly styled, leading to inconsistent appearance and reset spans. It now ensures translated content is properly formatted and avoids unexpected HTML elements being inserted, improving the translation experience.
Original PR description
### [FIX] html_editor: unwrap blocks when inserting in editable span When the ancestors of the selection are not elements supposed to contain blocks when pasting, nothing was done to remove those…
### [FIX] html_editor: unwrap blocks when inserting in editable span When the ancestors of the selection are not elements supposed to contain blocks when pasting, nothing was done to remove those blocks. This could lead to `span` elements containing `p` elements for example. This commit unwraps the blocks in the pasted content if the block containing the selection is outside of the `contenteditable` element that contains the selection. It also fixes the function `makeContentsInline` that was not robust to containing some nodes structures. Steps to reproduce: - Open `example.com`, and copy "Example" from the first block - Open website builder in translate mode - Paste - Bug: The appearance is weird because the pasted title is not styled as translation - Save - Bug: The span of translation where the text was pasted has been reset #### - Open `example.com`, and copy the whole content - Open website builder - Move cursor to the bottom of the footer, with the company name - Paste - Bug: it inserted a `p` element in the `span` (non deterministic, depends on the mood of the AI) - Open website builder in translate mode - Select some text (more likely to trigger the bug if it includes a line break, for example the description in the footer) - Use the "Translate with AI" tool from the toolbar - Bug: The appearance is weird because the inserted translation is not styled as translation - Save - Bug: The span of translation where the text was changed has been reset opw-5053872 opw-5109137 opw-5136337 task-5222402 ### [FIX] website: restrict inserted content in translate mode to whitelist The translate mode of the website builder should only ever insert nodes with a tag in the `TRANSLATED_ELEMENTS` whitelist or with `o_translate_inline` class inside a translation span. Doing otherwise makes the translation span "invalid" according to the server, which discards the translation. Blocks are already unwrapped when inserting in translations (by the previous commit), but some other nodes are not in the whitelist, for example `img`. This commit adds the class `o_translate_inline` on `a` elements when inserted and unwraps nodes that are not in the whitelist and do not have that class. Steps to reproduce: - Open `example.com`, and copy the link "Learn More" - Open website builder in translate mode - Paste - Save - Bug: The span of translation where the link was pasted has been reset #### - Copy an image (or a piece of html containing an image) - Open website builder in translate mode - Paste - Save - Bug: The span of translation where the image was pasted has been reset opw-5053872 opw-5109137 opw-5136337 task-5222402 Forward-Port-Of: odoo/odoo#240421 Forward-Port-Of: odoo/odoo#237969
This update fixes a layout issue on small screens where the call permission dialog was cramped and difficult to read. The changes stack the dialog elements vertically, improving spacing and readability for users on smaller devices. This enhances the user experience and ensures the dialog is easily accessible.
Original PR description
**Current behavior before PR:** On small screens, the call permission dialog uses a horizontal layout, causing cramped content and poor readability. **Desired behavior after PR is merged:** On small screens, the call permission dialog stacks elements vertically, improving spacing and readability. Before <img width="365" height="462" alt="image" src="https://github.com/user-attachments/assets/31431f11-5a69-418e-9d6b-7b30294a548c" /> After <img width="369" height="494" alt="image" src="https://github.com/user-attachments/assets/d7942381-57f5-4c5c-a7bc-79b621f48b4e" /> task-[5435662](https://www.odoo.com/odoo/project/1519/tasks/5435662) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a technical issue where closing a Point of Sale (POS) session could inadvertently remove draft orders without items or payments, leading to gaps in the POS reference sequence. This change ensures that all POS orders are properly tracked and accounted for, improving data accuracy and reliability within the POS system. The fix was made as part of a standard bug resolution process.
Original PR description
Before this commit, when closing the POS session, if there were draft orders without any lines or payments, they were removed and caused gaps in the pos_reference sequence. opw-5216954 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240579
This update expands the functionality of the 'sign' module to align with the official itsme service's coverage, now supporting countries beyond Belgium and the Netherlands. This ensures our business users can utilize itsme for identity verification, improving accessibility and compliance with current regulations.
Original PR description
Extend itsme availability beyond BE and NL to match the official itsme coverage: https://www.itsme-id.com/en-BE/business/coverage task-5424818 Forward-Port-Of: odoo/enterprise#102823 Forward-Port-Of: odoo/enterprise#102423
This update resolves an issue where deleting a Point of Sale order didn't fully remove associated order lines from local records. The fix corrects a technical problem related to how data was accessed, ensuring that all related items are properly removed during order deletion. This improves data accuracy and prevents orphaned records.
Original PR description
Issue: Deleting an order did not remove its related order lines from local records. Cause: Because of the use of `lazyGetter`, model fields were defined as getters instead of object keys. This caused `Object.entries` to skip some fields, preventing cascade deletion from including child records. Fix: Updated the logic for computing `recordsToDelete` to correctly handle cascade deletion and ensure child records are properly removed. Task-5095578 Forward-Port-Of: odoo/odoo#227875
This update fixes an issue where invoices with 0% taxes incorrectly displayed "Not subject to VAT" in XML reports. By mapping appropriate exemption codes and ensuring UBL compliance, the change guarantees accurate VAT data representation and full compliance with ZATCA standards, preventing misinterpretations of sales.
Original PR description
Issue: - The field `l10n_sa_exemption_reason_code` was not mapped for zero-rated, zero-rated export, and exempt taxes. - As a result, invoices using 0% taxes incorrectly showed "Not subject to VAT" in the XML, which misrepresented the actual nature of the supply. Imp: - Mapped appropriate exemption reason codes to 0% and exempt taxes based on the official ZATCA/UN CEFACT mapping. - Updated tax definitions and ensured UBL compliance with business rules BR-Z, BR-E, and BR-O. - It also makes the exemption reason text visible on the invoice. - Improved error spacing and removed redundant comma text. Impact: - Ensures full compliance with ZATCA XML standards. - Prevents misleading VAT data representation. Task: 5151903 Forward-Port-Of: odoo/odoo#234096
This update resolves an issue where overlays disappear after refreshing the website editor. The problem stemmed from how the editor was being reset, leading to the removal of necessary elements. This fix ensures overlays are correctly displayed after editor refreshes, improving the user experience within the website builder.
Original PR description
The bug is only observable after 18.4, after the website refactoring, but the root cause has been present since 18.0, so we fix it there in case there are other use cases. Since [1], overlays are no longer visible after an operation that executes `reloadEditor`. Steps to reproduce (observable after 18.4): - On website, go into edit mode - Change header template - After reload, overlays are missing Reason: `WebsiteBuilderClientAction.reloadEditor` sets up the new `Editor` before the old one is destroyed. Consequently, `LocalOverlayPlugin.destroy` removes the newest overlays as well. This commit ensures the plugin only cleans up its specific DOM elements. The order of operations bug will be fixed in a later PR. task-5438306 [1]: https://github.com/odoo/odoo/commit/3cd29fbac2b06566bfff40b5e7ed310cb0ce12c1 Forward-Port-Of: odoo/odoo#241161