Saturday, May 24, 2025
9 changes · master
Enhancements to existing features
Documents that are not connected to another business record are now handled consistently as unlinked, avoiding confusing grouping and display differences. Attachments remain visible in technical views for users with the right access, preserving existing visibility while improving clarity.
Original PR description
Purpose ======= Use False instead of 'documents.document' when a document is not linked to a record. Attachment still have 'documents.document' if not linked to a record, so users see the attachment in the technical view if they have access to the document (otherwise they won't see it). Task-4532059
VoIP now uses shared translation helper logic from the broader web platform instead of keeping its own copy. This reduces duplication and helps keep phone-related interface text consistent and easier to maintain across Odoo.
Original PR description
Community counterpart: https://github.com/odoo/odoo/pull/211279
WhatsApp tests were updated to match a platform change in how messages are categorized. This helps keep WhatsApp-related behavior aligned with the main messaging system and reduces risk of future inconsistencies.
Original PR description
The community counterpart of this commit replaces "is_note", "is_discussion" and "subtype_description" fake message fields by "subtype_id" which exists on message. This commit adapts whatsapp tests after this change. task-4676083 community: https://github.com/odoo/odoo/pull/209487
Miscellaneous changes
Repro steps: 1.Install l10n_lu_reports module 2. Go to Reporting > Tax Return > Annual VAT Declaration 3. Click on `Appendix to Operational Expidenture` 4. You will get a traceback error Cause: As of this PR in 18.1: https://github.com/odoo/enterprise/pull/70280 The function `registerCustomComponent` changed in 2 ways: 1. It now expects a module name 2. It registers the component by its name These changes were not applied in l10n_lu_reports module hence causing the error of the comp
Original PR description
Repro steps: 1.Install l10n_lu_reports module 2. Go to Reporting > Tax Return > Annual VAT Declaration 3. Click on `Appendix to Operational Expidenture` 4. You will get a traceback error Cause: As of this PR in 18.1: https://github.com/odoo/enterprise/pull/70280 The function `registerCustomComponent` changed in 2 ways: 1. It now expects a module name 2. It registers the component by its name These changes were not applied in l10n_lu_reports module hence causing the error of the component not being found in the registery This commit solves this issue by applying those changes in l10n_lu_reports module task-4816146 Forward-Port-Of: odoo/enterprise#86323 Forward-Port-Of: odoo/enterprise#86284
missing group attribute for ytd_balance_ids (private field) build_error-162969 Forward-Port-Of: odoo/enterprise#83688
Original PR description
missing group attribute for ytd_balance_ids (private field) build_error-162969 Forward-Port-Of: odoo/enterprise#83688
Currently a traceback is occurring when the user tries to generate a payslip report. To reproduce this issue: 1) Install `l10n_in_hr_payroll` and shift to Indian company 2) Create an employee and a bank account in the private information of employee 3) Remove the `Bank Identifier Code` from the `Bank` while creating a bank record 4) Create a new `payslip` record with a `running contract` 5) Confirm the payslip and click the `Create Payment Report` Error:- ``` TypeError: expect
Original PR description
Currently a traceback is occurring when the user tries to generate a payslip report. To reproduce this issue: 1) Install `l10n_in_hr_payroll` and shift to Indian company 2) Create an employee and a bank account in the private information of employee 3) Remove the `Bank Identifier Code` from the `Bank` while creating a bank record 4) Create a new `payslip` record with a `running contract` 5) Confirm the payslip and click the `Create Payment Report` Error:- ``` TypeError: expected string or bytes-like object, got 'bool' ``` As the `bank_bic` is not a required field, user can removes it. if there is no `bank_bic`, it leads to the above traceback from the below line. https://github.com/odoo/enterprise/blob/e2a9442ac33579c9833f65f59cf8341b3c6eafc8/l10n_in_hr_payroll/models/hr_employee.py#L24 sentry-6199042870 Forward-Port-Of: odoo/enterprise#81682
Before this commit, if a user attempted to open a spreadsheet they lacked access to or that did not exist, they would get a traceback due to improper error handling. This commit resolves the issue by handling server errors when fetching the spreadsheet and redirecting the user to the documents app. Steps to reproduce: - Create a spreadsheet with Mitchell Admin. - Copy a hyperlink. - In another browser, log in as Marc Demo and paste the hyperlink. - You get a traceback and you don't unders
Original PR description
Before this commit, if a user attempted to open a spreadsheet they lacked access to or that did not exist, they would get a traceback due to improper error handling. This commit resolves the issue by handling server errors when fetching the spreadsheet and redirecting the user to the documents app. Steps to reproduce: - Create a spreadsheet with Mitchell Admin. - Copy a hyperlink. - In another browser, log in as Marc Demo and paste the hyperlink. - You get a traceback and you don't understand what's going on. task-4551255 Forward-Port-Of: odoo/enterprise#81276
- When closing the session from the tour, the `total_due` of the partner was not updated yet. Now when closing the session, the test waits for the `total_due` to be updated before evaluating its value. runbot error: 182096 Forward-Port-Of: odoo/enterprise#84869 Forward-Port-Of: odoo/enterprise#84693
Original PR description
- When closing the session from the tour, the `total_due` of the partner was not updated yet. Now when closing the session, the test waits for the `total_due` to be updated before evaluating its value. runbot error: 182096 Forward-Port-Of: odoo/enterprise#84869 Forward-Port-Of: odoo/enterprise#84693
**Issue:** A traceback error is raised when the assignee of a Field Service task has no calendar **Steps to reproduce:** - Make sure admin (Michel Admin) has no calendar in the Employee module - Field Service > New - Create a new task with Michel Admin as assignee and click save without choosing Planned Date and leave Allocated Hours at 0 - Choose Planned Date then click save again A traceback error is raised opw-4672980 Forward-Port-Of: odoo/enterprise#85318 Forward-Port-Of: odoo
Original PR description
**Issue:** A traceback error is raised when the assignee of a Field Service task has no calendar **Steps to reproduce:** - Make sure admin (Michel Admin) has no calendar in the Employee module - Field Service > New - Create a new task with Michel Admin as assignee and click save without choosing Planned Date and leave Allocated Hours at 0 - Choose Planned Date then click save again A traceback error is raised opw-4672980 Forward-Port-Of: odoo/enterprise#85318 Forward-Port-Of: odoo/enterprise#83839