Friday, February 21, 2025
10 changes · master
Enhancements to existing features
Accounting records now include the customer's or vendor's country as a grouping option. This helps business users analyze invoices and accounting entries by partner country in custom reports and list views.
Original PR description
Adding a new related field to account_move to be used in Custom Group By. task: 4419706 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change makes the author field required in app manifest files so modules are registered under the correct contributor or organization. It helps avoid Odoo apps being incorrectly attributed to Odoo S.A. and adds tooling to update existing manifests in bulk.
Original PR description
External contributors (and namely Odoo PS) forget to set the author field in their manifest file. The result is that the module is wrongly registered with `'author': 'Odoo S.A.'`. This work makes the field mandatory, with a warning when not set. It also offers an upgrade-code script to mass-rewrite all the manifests in order to set the author. task-4485983 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 lets Odoo apply custom styling or behavior markers to date and time input fields. It supports smoother keyboard navigation in custom dropdowns, improving usability for affected interface components.
Original PR description
In order for a DateTimeInput to be focusable in a custom Dropdown component, we need it to have the class `o-navigable`. This commit adds the ability to pass CSS classes to the DateTimeInput component. [task-4284292](https://www.odoo.com/odoo/project.task/4284292) Related to https://github.com/odoo/enterprise/pull/74992
This update ensures database index names are generated at a safe length for the phone validation and project areas. It helps avoid database-level name truncation, reducing the risk of setup or upgrade inconsistencies without changing user-facing workflows.
Original PR description
When creating indexes, we must ensure that the name of the index is not too long, otherwise it is truncated by the database. We have the function `make_identifier` for this. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Stock quantity actions are now defined in a way that works better with direct URL paths and Odoo Studio. This makes inventory-related screens easier to access, customize, and integrate without changing the underlying business flow.
Original PR description
Allow to use the path url + studio
Users can now find and mention discussion channels even if they are not members of those channels. This makes communication smoother by aligning mention suggestions with channels that can already be mentioned.
Original PR description
Before this PR, only the channels the user is a member of were returned by the mention suggestions. This PR removes an unnecessary limitation when mentioning a channel as it's It is already possible to mention a channel you are not a member of.
This update renames Saudi e-invoicing fields to follow Odoo naming conventions and adjusts when those fields appear on company, partner, and invoice screens. This helps reduce confusion by showing Saudi e-invoicing details only in the relevant situations.
Original PR description
This commit will rename some field to fit the convention to have the name of the module as a prefix. Also changing the invisible of the fields since they were displayed in wrong situation. task: 4543406 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes the supported PostgreSQL version clearer and adds a warning when Odoo connects to an unsupported database version. This helps businesses avoid running on database setups that may not be reliable or officially supported.
Original PR description
Indicate which version of PostgreSQL is supported. Warn when connecting to an unsupported version. Mostly for documentation purposes. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The import tool now uses Odoo's standard database checkpoint handling instead of custom manual handling. This makes the import code easier to maintain and helps ensure consistent behavior across the system, with no expected change for end users.
Original PR description
Use the `savepoint()` function instead of managing manually. The goal is to be able to find easily all savepoint usages and have them working in the same way. https://github.com/odoo/enterprise/pull/79848 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update standardizes how bank statement CSV imports manage temporary database changes, making the process easier to maintain and more consistent. It also simplifies salary simulation rollback handling so trial calculations are fully discarded after running, reducing risk of unintended saved data.
Original PR description
### [IMP] account_bank_statement_import_csv: use savepoint() Use the savepoint object to import the data instead of custom SQL. The goal is to be able to find easily all savepoint usages and have them working in the same way. ### [IMP] hr_contract_salary: remove savepoint for simulation When simulating salary data, we want to rollback all that is done during the simulation. Since we commit just before trying to do the simulation, we can just rollback at the end instead of using savepoints. https://github.com/odoo/odoo/pull/198584