Monday, January 16, 2023
23 changes · master
Enhancements to existing features
Graph views can now show cumulative values in line charts, making it easier to track totals building up over time. This helps teams such as sales monitor ongoing performance trends like accumulated revenue or benefits directly in reports.
Original PR description
This commit adds cumulative data line in graph view. The cumulative data could be interesting in some applications like sales which would allow to show accumulation of benefits over time. Task: 2146487
The calendar interface has been updated to use a newer underlying framework, improving maintainability and consistency across calendar-related apps. This affects standard calendars as well as Google, Microsoft, time off, and activity calendar views, helping provide a smoother and more reliable user experience over time.
The spreadsheet engine was updated to improve reliability when working with formulas, charts, figures, and drag-and-drop interactions. Users should see more accurate error handling, safer find-and-replace behavior, and smoother collaborative chart editing.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/dcff0890 [IMP] Error: Lookup module's functions now return NA Errors https://github.com/odoo/o-spreadsheet/commit/e154817f [FIX] collaborative: Ensure full payload of `UPDATE_CHART` https://github.com/odoo/o-spreadsheet/commit/1829d0f0 [FIX] functions, find & replace: escape regex special characters https://github.com/odoo/o-spreadsheet/commit/273c38ca [FIX] figure: Change component structure to leverage navigator native behaviour https://github.com/odoo/o-spreadsheet/commit/bf97a1e4 [IMP] registries: always populate chart/figure registries https://github.com/odoo/o-spreadsheet/commit/1178bbec [IMP] components: prevent mouse event defaults on drag-and-drop
The system now warns developers when database constraint names could exceed PostgreSQL length limits, helping prevent future installation or upgrade issues. One existing constraint name in the account EDI proxy client was shortened to stay compatible with database limits.
Original PR description
Warn when constrains name combine with table name will be more than 63 characters. This is to avoid case like the one fixed in #103148 Unlike index, since constrains name are defined in the code, we prefer to avoid automatic truncate and add a warning since devs can chose an appropriate short-enough name. The linked fixes will just truncate the name to the max length to match the name in existing databases. Renaming could be done in other pull requests with upgrade scripts to avoid constrains re-computation. Linked to odoo/enterprise#35424
This change adds reusable Python-based helpers for downloading and unzipping files in the IoT hardware drivers area. It reduces reliance on bash scripts, making future IoT setup and maintenance easier on Windows machines.
Original PR description
Description of the issue/feature this PR addresses: Before, we were using bash scripts to download files from url's. [Example](https://github.com/odoo/enterprise/blob/5e50de9f977e8c09a0c06a9601c541f2f79cdacd/iot/iot_handlers/lib/load_worldline_library.sh#L9) This poses an issue on IoT Windows as it makes the code less portable This pr implements a 'download_from_url' and 'unzip_file' methods in Python which allows to do the same. This allows for the code to be compatible on Windows machines Current behavior before PR: Bash scripts are the only option used to download files from. Desired behavior after PR is merged: We have the option to download and unzip files directly through Python, which will allow us to remove bash scripts in the future [Task 3116299](https://www.odoo.com/web#id=3116299&cids=1&menu_id=4720&action=333&active_id=1428&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update lets Odoo show action buttons directly in Kanban view headers, making common actions easier to access without custom workarounds. It also updates CRM lead generation and Email Marketing screens to use the new behavior, and fixes recipient imports so the current mailing list is selected automatically.
Original PR description
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 makes placeholder images in the eLearning website area use one consistent built-in method. This should make course and lesson pages easier to maintain and help ensure placeholder visuals behave consistently across the site.
Original PR description
Before this commit placeholder images were generated in multiple different ways in website_slide. This commit makes use of _get_placeholder_filename function and standardizes the way these placeholder images are generated for website_slide. Task-2908029 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Timesheet create and edit access checks are now handled in separate reusable steps instead of being embedded directly in save logic. This makes it easier for businesses and implementers to customize timesheet approval and access rules without disrupting core behavior.
Original PR description
_* = project_timesheet_holidays Before this PR checking validation for creating and writing on timesheet done in create and write method which makes customization difficult for user. So, in this PR check validation for creating and writing on timesheet done in separate method _check_can_create and _check_can_write respectively for timesheet. task-2928942
Sales and Website settings now show documentation links for shipping connectors, matching the guidance already available in Inventory settings. This makes it easier for users to find setup instructions when configuring delivery integrations.
Original PR description
before this commit, the documentation link was missing for shipping connectors in the sales and website settings. after this commit, the documentation link will be shown for each connectors as it is currently displayed in the inventory settings. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The system’s master release version has been updated to 16.2 alpha. This prepares the project for the next development cycle and helps align future work with the correct upcoming release version.
This update simplifies how customized website and portal routes inherit settings from their base routes. It reduces the risk of future changes being accidentally overridden and adds automated checks to prevent the issue from returning.
Bank statement reports now use less empty space and include more available partner and bank account details. For users not relying on online bank synchronization, the report is now generated when the statement is posted, making it available at a more relevant point in the workflow.
Original PR description
Improve the bank statement report by reducing the amount of blank lines in it, as well as adding more information about the partner and bank account when we have it. Also, when not using online sync the bank statement report will now be generated at the time of posting and not validating. Task id #2860753 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Geo Localization provider settings now have a dedicated, better-structured form instead of relying on a generic default layout. This makes the setup screen clearer and easier to use for administrators configuring location services.
Original PR description
**Description of the issue/feature this PR addresses:** currently there is no form view defined for the model base.geo_provider, and thus accessing the form view of this model, odoo is providing the default form view, which is not aligned properly. 1. Install base_geolocalize 2. Settings -> General Settings 3. Under Integration Section, open any record from Geo Localization  **Current behavior before PR:** missing form view for the model. **Desired behavior after PR is merged:** add form view for the model and update string of the field. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Read-only Knowledge articles now display with extra body padding so their layout stays consistent with editable articles that show action buttons. This creates a cleaner, more balanced reading experience without changing article content or behavior.
Original PR description
This commit adds padding to the readonly articles' body so that there is the same space as if the articles buttons were present in the view. task-3080921
Planning screens now make it easier to find suitable employees by showing everyone who matches required skills, even if they are not yet scheduled. Schedule labels and sales order line names now include clearer customer, project, role, pricing, and hour details to help users distinguish similar work items faster.
Original PR description
| Commit name | |------------------------------------------------------------------------| | [IMP] planning*: return all matching employees when looking for skills | | [IMP] *planning, *project_forecast: modify the pile name in planning | | [IMP] planning: add additional information in SOL display name | related: https://github.com/odoo/odoo/pull/105470 task: 3052812
Several spreadsheet dashboard template files were reformatted to make them easier to read and maintain. This does not change business functionality, but it should make future updates easier to review and less error-prone.
Original PR description
before this commit, the readability of the json files of documents_spreadsheet_account and documents_spreadsheet_crm is very less as the files are not properly aligned. after this commit, the readability will increase and later some one make any updates in these files, it is easy to understand the changes. https://github.com/odoo/enterprise/pull/35204/files : This is a previous commit made in one of this files and the difference is not properly showing by git and also less readable.
Timesheet creation and editing checks have been moved into separate reusable methods. This makes it easier for businesses with custom workflows to adapt timesheet validation rules without changing the core create or edit process.
Original PR description
Before this PR checking validation for creating and writing on timesheet done in create and write method which makes customization difficult for user. So, in this PR check validation for creating and writing on timesheet done in separate method _check_can_create and _check_can_write respectively for timesheet. task-2928942
The IoT Kanban view now uses a standard always-visible header button for key actions. This makes important actions easier to find and keeps the interface consistent with newer Odoo view behavior.
The Documents spreadsheet component was updated to align with the latest spreadsheet engine changes. This helps keep chart-related behavior reliable and maintains compatibility with ongoing improvements in spreadsheet features.
Original PR description
adapt tests following https://github.com/odoo/o-spreadsheet/commit/bf97a1e4 [IMP] registries: always populate chart/figure registries
Calendar-related views and several reporting views have been updated to use a newer interface foundation. This should make scheduling, planning, map, cohort, grid, and studio views easier to maintain and more consistent for future improvements.
Users’ view changes are now saved automatically in the enterprise web interface, reducing the risk of losing work. This makes day-to-day customization smoother and removes the need for extra manual save steps.
The Knowledge app now shows a specific confirmation button label when moving an article, such as moving to a workspace, private area, or shared area. This helps users better understand the destination before confirming the action.
Original PR description
**PURPOSE** Currently, while moving an article from one category to another, the confirmation dialog shows the 'OK' label of the button. So it does not clarify where the article is actually being moved. **SPECIFICATIONS** For better clarification, the confirm label(OK) will be replaced by 'MOVE TO WORKSPACE/PRIVATE/SHARED' depending on the move. **Task**-3102492
Form views now keep fields and labels more consistently aligned when users switch between viewing and editing records. This reduces visual jumping and makes data entry feel more stable and polished, especially in Enterprise and Studio screens.
Original PR description
Reduce shift in form view when switching mode --- This PR reduces the shift between edit and readonly mode in the form view. Reducing the shift means that both modes should be identical: * Fields should be at the same place * Fields have the same render in both modes * Labels shouldn't show only in one mode, whether they appear in both or they does not Task 2330101 Community PR: https://github.com/odoo/odoo/pull/63032
Original PR description
When overriding an existing controller route, developers can easily c/p the route definition and call super() in the overridden method. ```python # website_sale @route(path, type='http',…
When overriding an existing controller route, developers can easily c/p the route definition and call super() in the overridden method.
```python
# website_sale
@route(path, type='http', website=True, sitemap=False)
def my_route(self, *args, **kw):
# do sthg
# website_sale_something
@route(path, type='http', website=False, sitemap=False)
def my_route(self, *args, **kw):
super().my_route(*args, **kw)
# do sthg else
```
when the route attributes are automatically deducted by odoo from the parent route.
```python
# website_sale_something
@route(path, website=False)
def my_route(self, *args, **kw):
super().my_route(*args, **kw)
# do sthg else
```
Removing those redefined attributes simplifies the routes definition, clearly highlighting what's changed by the override.
Also reduces unexpected behavior when modifying the base route without noticing/considering the redefined attributes in a overridden route, which overrides the changes made to the base route when the sub-module is installed.
This PR/commit adds a test to catch routes attributes redefinition, and clean existing routes.
Enterprise PR: https://github.com/odoo/enterprise/pull/35176
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr