Monday, September 9, 2024
10 changes · master
Enhancements to existing features
Odoo now accepts a wider range of database names and lets PostgreSQL handle the necessary escaping. This improves flexibility for deployments that use non-standard naming conventions without changing everyday user workflows.
Original PR description
Let the frameworks accept any name as an identifier and let postgres escape it as needed. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Dashboards can now store which main business data model they depend on, laying the groundwork for showing sample data in fresh databases. This helps future onboarding improvements make empty dashboards more useful and understandable for new users.
Original PR description
Currently, users with an fresh empty database will only see empty dashboard skeletons. They will go through a list of sheets without any data and probably miss the potential of this reporting tool. For a proper onboarding experience, they should be greeted with sample data to give a better idea of the dashboard look and use. Technically, we will define if a dashboard requires the sample data by querying if the most important models of the dashboard have any records. A first step towards this goal is to add the field where we will store this information. task-3947773 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
A new striped design snippet is available for building website pages. This gives business users another ready-made layout option to create more visually varied pages without custom development.
Original PR description
This commit introduces a new snippet named `s_striped`. task-4108307 Part of task-4077427 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR teams can now classify employees with a new 'worker' type. This makes employee records more accurately reflect different workforce roles and improves reporting or filtering based on employee type.
Original PR description
Add new employee type 'worker' to better reflect the nature of the employees. task-3957512 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 aligns the purchase stock process with an existing shared method, making the code more consistent and easier to maintain. It is an internal improvement with no expected change to day-to-day user workflows.
Original PR description
It's better to be consistent. Methods should be used when possible. The method is defined in `stock_account` module. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds clearer internal typing information to several core Odoo utility functions, helping developers maintain and evolve the system more safely. It also flags older usage patterns so teams can gradually move away from deprecated approaches without changing business workflows.
Original PR description
Typing information for most functions in: - func.py - lru.py - misc.py - parse_version.py - set_expression.py --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
WhatsApp-related timezone handling now relies on standard fields instead of custom logic. This makes event registration messaging easier to maintain while keeping the expected timezone behavior intact.
Original PR description
Timezone fields can be inferred easily from a fixed list of fields. We add a related field on event registrations so it fits the heuristic, and remove the override to the method that previously defined the path to the timezone field. task-4095356
Approval request buttons now use adjusted colors to make the workflow easier to understand. This helps users quickly identify the right action and reduces confusion when processing approvals.
Original PR description
Buttons color have been adjusted to enhance the flow's understandability. task-3987625
This update renames a field used in India GSTR point-of-sale reporting to align with related reporting changes. It helps keep report terminology consistent and reduces confusion for users reviewing GST return data.
Original PR description
Related: https://github.com/odoo/odoo/pull/179265
The login page now only shows the user switch option when there is more than one available user. This keeps the sign-in experience simpler for single-user cases while still supporting quick switching when multiple users are available.
Original PR description
If there is only one user in user switch, don't display it and propose the login form. If there is more than one user, display the user switch. task-4160923