Wednesday, September 27, 2023
10 changes · master
Enhancements to existing features
Users can now open a to-do item’s full details directly from the list view. This makes it easier to review individual records when inline editing prevents opening the form by clicking fields.
Original PR description
Before this commit: in list view when click on any field it was editable and so can not see the form view of that record. After this commit: a view to-do button is added to the list view to see the form view of the particular record task-3471910
This update removes unused inputs from an internal setup method in the inventory accounting module. It simplifies maintenance without changing how users configure or use inventory accounting.
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
In the Project task list, customer names are now shown as plain text instead of clickable links. This reduces accidental navigation and keeps users focused when reviewing or managing tasks.
Original PR description
task-3514409 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes older internal communication code and moves affected areas to Odoo’s newer service-based approach. It helps keep the platform easier to maintain and supports consistent behavior across portal, payments, live chat, point of sale, and related features.
Original PR description
[[IMP] *: remove legacy rpc](https://github.com/odoo/odoo/pull/136271/commits/2df461f70fc4fc0dcd3a890bfd57222e2a930af8)
This commit removes the files ajax.js and rpc.js then adapts all the
places where their exports were used. For most of the changes, it's a
replace of `this._rpc({...})` by a new `useService("rpc|orm")` like
pattern in the widgets.
task: 3439226This update makes an unused spreadsheet method internal because it is no longer used by the web client. It helps keep the spreadsheet module easier to maintain without changing everyday user workflows.
Original PR description
remove unused method. See enterprise commit Task: 3483938 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 adds automated checks to ensure that creating a to-do activity also creates the matching task correctly. It helps prevent future issues by verifying key details such as name, assigned user, deadline, and description stay consistent.
Original PR description
We check that both an activity and a task has been created by the create_todo_activity call We check that those have the same - name - user - deadline Task-3492155 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change updates how appointment-related test data is mocked so it no longer disrupts calendar tests when multiple modules are installed. It helps keep automated testing stable and reduces the chance of unrelated test failures slowing development.
Original PR description
The appointment module currently extends the CalendarAttendeeController from the calendar module. Since appointment adds some rpc calls in the controller, it was decided to patch the MockServer with…
The appointment module currently extends the CalendarAttendeeController from the calendar module. Since appointment adds some rpc calls in the controller, it was decided to patch the MockServer with the appointment routes to prevent having tests fail because of unimplemented routes. However, patching the MockServer is not advised by the JS team and the current patch calls ORM mock methods (like mockRead, mockSearchRead...) that depend on serverData that is solely defined on the appointment tests. This causes any test done in the calendar module using the calendar_attendee js class to fail when all modules are installed because, even though the route is mocked, it tries to fetch data that is only defined for appointment. This commit changes the approach to use the mock_server registry, defining each route individually. For routes that are called on the onWillStart hook and their mock should be doing a mockRead, it was decided to overwrite the mock inside the appointment tests. This way, it is possible to return an "empty" object for all tests that are not appointment related, and for appointment tests we simply overwrite the mock_server for that route with the original implementation and after the tests are done, we can restore the mock.
This change updates several Odoo Enterprise apps to work with the newer internal communication services after older components were removed. It helps keep appointment booking, payments, rentals, POS, website tools, and other features compatible with the latest platform foundation without changing their intended business behavior.
The task list in Project now shows planned dates immediately after the task name. This makes scheduling information easier to spot while reviewing or organizing project tasks.
Original PR description
...in task tree view. Related: https://github.com/odoo/odoo/pull/136001 task-3514409
This update adapts several accounting, reporting, document, and field service areas to a newer shared database query mechanism. It reduces the risk of errors in reports and related workflows while keeping the changes mostly behind the scenes for users.
Original PR description
Companion of https://github.com/odoo/odoo/pull/134677.
Original PR description
In the PR https://github.com/odoo/odoo/pull/136271 the files ajax.js and rpc.js has been removed. This commit adapts all the places where their exports were used. For most of the changes, it's a replace of `this._rpc({...})` by a new `useService("rpc|orm")` like pattern in the widgets.
task: 3439226