Thursday, December 19, 2024
13 changes · master
Enhancements to existing features
Users can now duplicate account report expressions without running into a duplicate-name restriction. This makes it easier to reuse and adapt existing report setup, reducing manual work when configuring financial reports.
Original PR description
this commit enables the copy of account report expressions. This is currently not possible because the name is copied with the same value and a constraint states that the name must be unique. task-3748928 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Testing now includes real-time websocket communication, which lets teams validate features such as Discuss notifications more accurately. This reduces the chance of message-delivery issues reaching users by making automated tests closer to real usage.
Original PR description
Until now, websockets were disabled during tests. However, applications such as discuss cannot properly be tested without receiving messages from the bus. This PR enables the websockets during tests. task-3970199
This update lets Odoo retrieve multiple internal reference records at once instead of one by one, reducing database queries in areas such as accounting configuration and demo data loading. It also standardizes how missing-reference handling is requested, improving consistency for future maintenance while keeping existing usage compatible.
Original PR description
The `ref` method both in Environment and in ChartTemplate can now accept multiple `xml_ids`, reducing the number of queries necessary. The `xml_ids` must all refer to the same model, or `ValueError` is raised. `raise_if_not_found` argument is made a keyword-only argument so now it's mandatory for the function calls to include the argument name. Documentation PR: odoo/documentation#10992 Enterprise PR: odoo/enterprise#69800
The web interface no longer sends duplicate company switch menu information through the user session. This simplifies how company access is handled and should reduce maintenance overhead without changing the user experience.
Original PR description
This commit removes the display_switch_company_menu from the session, and uses the company service. Note that, the company service already has the information about the allowed companies. part-of task-id 2224776
Demo company records across many country localization modules are now explicitly marked as companies. This keeps sample data consistent and helps users evaluating localized setups see company records behave as expected.
Italian tax records now use the standard Legal Notes field instead of a separate duplicate law reference field. This reduces duplicate data entry and keeps Italian e-invoice legal references consistent when generating FatturaPA XML files.
Original PR description
This commit removes the `l10n_it_law_reference` field from italian `account.tax`, and replaces all of its usage with the general tax field "Legal Notes" (`invoice_legal_notes`) HTML field. By accident, we didn't take into account that both of these fields are saving the same data. Instead of having 2 redundant fields, we remove the italian field and uses the general Legal Notes when populating the RiferimentoNormativo node in the FatturaPA XML file. Because it's a HTML field (saved as a Markup object), we need to extract its text content whenever we want to use it in the XML. related upgrade PR: https://github.com/odoo/upgrade/pull/6833 task-id: 4284148
A request-related activity field has been moved out of the general mail area and into the eLearning/slides module where it is actually used. This keeps the core messaging tools leaner while preserving the same behavior for website slide activities.
Original PR description
to webside_slides This field is only used by webside_slides, so this commit moves it there. PR upgrade: https://github.com/odoo/upgrade/pull/6898
Users can now update their phone number directly from their preferences, alongside their email address. This makes it easier to keep contact information current even when the Contacts app is not installed.
Original PR description
**PURPOSE:** Enable users to easily update their phone number even if the "Contacts" app is not available. **SPECIFICATIONS:** Adding the phone field below the email field in preferences. Task-4247284
This update cleans up an automated test for the Helpdesk live chat chatbot ticket creation flow. It helps keep quality checks easier to maintain, reducing the risk of future regressions without changing customer-facing behavior.
Original PR description
Enterprise counter-part. task-4354325 https://github.com/odoo/odoo/pull/191076
This update improves how Odoo retrieves multiple internal references, reducing unnecessary database queries in accounting, payroll, helpdesk, delivery, field service, localization, and marketing areas. It also standardizes how missing references are handled, making the system more consistent and less prone to hidden errors.
The update removes a duplicated company-switching flag from the user session and relies on the existing company service instead. This reduces duplicated data and helps keep company access behavior consistent without changing the visible workflow for users.
Original PR description
This commit removes the display_switch_company_menu from the session, and uses the company service. Note that, the company service already has the information about the allowed companies. part-of task-id 2224776
Spreadsheet autocomplete suggestions now show the pivot or list name alongside its ID before selection. This makes it easier for users to identify the correct spreadsheet data source and reduces confusion when multiple pivots or lists exist.
Original PR description
Unless the auto complete suggestion is selected, it only shows the id of the pivot/list and not the name. This commit changes that to always show the name of the pivot/list is addition to its id. Task: [3953742](https://www.odoo.com/web#id=3953742&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
This update strengthens automated testing around helpdesk, timesheet tracking, and live chat support flows. It helps reduce the risk of regressions in customer support and time logging features without introducing direct user-facing changes.
Original PR description
_*=helpdesk,website_helpdesk_livechat task-4354287
Original PR description
Set the field "is_company" to True on each loca demo companies. task-4310530
Original PR description
The `ref` method both in Environment and in ChartTemplate can now accept multiple `xml_ids`, reducing the number of queries necessary. The `xml_ids` must all refer to the same model, or `ValueError` is raised. `raise_if_not_found` argument is made a keyword-only argument so now it's mandatory for the function calls to include the argument name. Community PR: odoo/odoo#179692 Documentation PR: odoo/documentation#10992