Thursday, January 18, 2024
9 changes · master
Enhancements to existing features
This update standardizes how image links are created across Odoo, especially for avatars and other UI images. It helps browsers reuse cached images more effectively, reducing unnecessary server requests and making common screens feel faster.
Original PR description
The goal of this helper is to create a better control over the way we create url for image. This will standarize the url format accross the UI and improve the browser ability to cache them. It also ease the use of `unique` key that allow the server to set the `Cache-Control` header properly. Example: before this PR the avatar in the user menu has a `Cache-Control` header set to `no-cache`. Even if no data was downloaded, a request was still sent to the server (around 30ms delay). This PR set the `Cache-Control` header to `public, max-age=31536000` allowing the browser to skip the request and directly use the cache (0ms delay).
This update brings Odoo’s spreadsheet engine to a newer version with better handling of formula errors, so spreadsheets can behave more reliably when calculations encounter invalid or unexpected values. It also includes small fixes for checkbox styling and markdown link detection, improving the overall spreadsheet user experience.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/296f467b9 [REL] 17.2.0-alpha.1 https://github.com/odoo/o-spreadsheet/commit/d0814d602 [FW][IMP] evaluation: functions…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/296f467b9 [REL] 17.2.0-alpha.1 https://github.com/odoo/o-spreadsheet/commit/d0814d602 [FW][IMP] evaluation: functions can handle errors Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/9c1500fbc [IMP] test: fail if console.error Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/884bbbfd6 [REF] evaluation: change error objects to string errors Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/d429396c6 [REF] formulas: remove computeValueAndFormat and computeFormat Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/18d224c57 [REF] formulas: modify typing name Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/e09d6b881 [IMP] functions: accept/throw errors on specific function Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/f8bfea155 [REF] evaluation: remove lazy args in formulas Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/94f681691 [IMP] evaluation: allow formulas to handle error Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/fbe30cf34 [REF] cell evaluation: some cleaning Task: 2969401 https://github.com/odoo/o-spreadsheet/commit/a28bf5e5a [REL] 17.2.0-alpha.0 https://github.com/odoo/o-spreadsheet/commit/02d578cc9 [FIX] Datavalidation: fix checkbox style Task: 3650740 https://github.com/odoo/o-spreadsheet/commit/93fdaae4e [REF] commands: change evaluation invalidation management Task: 3607272 https://github.com/odoo/o-spreadsheet/commit/ab7f509a2 [FIX] Cell: Fix detection of markdown links Task: 3628780
Studio users can now change a button's label and visual style directly from the sidebar instead of editing XML. This makes button customization easier and safer for business users working in form views.
Original PR description
This commit brings new attributes to the sidebar when editing a button node. Before this commit, it was not possible to change the label of a button without editing the XML, and it was not possible to change the color class being used on the button. Now, an input is present to change the string attribute directly from the UI. Another inout has been added below, to choose and edit from any bootstrap class. A test has been added to verify those attributes are now editable from the user interface. task-3599683
Spreadsheet formulas can now handle error values more reliably, helping users work with imperfect or unexpected data without disrupting their analysis. This improves the experience in spreadsheet-based documents, lists, and pivots by making calculations more resilient.
Original PR description
Task: 2969401
Helpdesk ticket cards no longer offer a quick delete option, reducing the risk of accidentally removing customer-submitted requests. Stage editing has also been simplified by removing description and custom status label options, keeping Helpdesk more consistent with related project workflows.
Original PR description
Before this PR: - In helpdesk tickets kanban card we have 'delete' option - In helpdesk stage edit we have stage description' feature And - The feature for customize kanban state labels in stage edit After this PR: - Removed the helpdesk tickets kanban card has 'delete' option, because as tickets are usually submitted by customers, it shouldn't be that easy to delete them. - Removed the helpdesk stage description' feature and Removed the feature for customize kanban state labels because be consistent with project module. task-3626568
Users can now choose whether period comparison columns appear in ascending or descending order in accounting reports. This makes reports easier to read according to user preference, while keeping sensible defaults such as ascending order for the Trial Balance.
Original PR description
Some users prefer to have the order of their period comparison in ascending or descending order. By default, most reports will be on descending order except for the Trial balance that is in ascending. This PR will introduce, in the comparison dropdown, a new selection input that will change the order of the comparison column. task: 3586472
The timesheet timer header now shows the activity description before the project and task details. This makes the most immediate work context more prominent when starting or tracking time.
Original PR description
Steps: - Install timesheet_grid. - Start the timer from timesheet header. - `Project` -> `Task` -> `Describe your activity` is displayed in this sequence. Improvement: - Move the description to the left of the project. task-3429424
Users can now be assigned activities even when they do not have access to the underlying business record, because those activities are now visible to them. This simplifies activity handling and removes an outdated automation marker, with effects mainly in messaging, time off, accounting reports, and Belgian payroll flows.
Original PR description
As we now display to the user activities for which he has no access to the underlying records, we remove the check that prevent assigning an activity to a user on a record he has no access to. As a consequence, we remove the field automated of mail_activity. See odoo/odoo#143158 Task-3598836
This update tidies and clarifies the Amazon sales integration test suite, including related wording and documentation. It does not introduce new business functionality, but helps maintain reliability and makes future changes easier to validate.