Friday, May 5, 2023
5 changes · master
Resolved issues and error corrections
Creating a project task without a title now shows a clear notification instead of a technical validation error. Task assignment emails are also formatted correctly so the subject and message body are easier to read.
Original PR description
- In the quick create view, do not enter a value in the Task Title field and try to create a task, a validation error is showing instead of a toast notification highlighting that a required field is not set. - In your inbox, when you are assigned to a task, you receive mail from the project. In that mail, the mail subject and body are displayed in one line. In this PR, display_name field is set as a required field, meaning that if the field is left empty, a notification will appear in the form of a toast message instead of a validation error. The mail template's 'assignee_name' field currently has a 'span' tag, which may cause inline subject and body issues. To prevent this, it is recommended to use a 'div' tag instead.
The project app now only shows the Sales Order button for a task when that task has its own linked sales order line. This prevents users from seeing a misleading sales order link after it has been removed from the task.
Original PR description
[[FIX] project: fix sale order stat button in project](https://github.com/odoo/odoo/pull/118305/commits/e76acba91c2a8d8ba63bdffef0d6ff051ef5a07e)
Steps:
install sale_project
set SOL on project
set SOL on task and remove it
Issue:
when we set SOL on task SO stat button is visible but when we remove SOL from
task SO stat button is visible
Cause:
compute of SO was tasking SO from task SOL but when there is no SOL on the task
it is taking SO from Project SOL
Fix:
make SO related to SOL from the task because SO stat button should be visible
according to task SOL
task-3251672Fixed an issue where the up and down arrow keys did not move correctly between lines when writing multi-line messages. This also prevents accidental editing of the last message unless the message box is empty, making message composition more predictable.
Original PR description
Before this commit, when composer had some text content in multi-line, arrow up/down was not jumping to previous/next line. This happens because the navigable list is active even when not shown, and was preventing all keydown events. This commit fixes the issue by limiting handling of keydown events of navigable list to when it is shown. Also fixes a bug where the quick edit of last message was triggered when composer text was non-empty with ArrowUp. This should only be triggered when the composer text input is empty.
This update adjusts accounting-related tests so they correctly handle default currencies on bank and cash journals. It helps keep reconciliation, cash flow, and SEPA payment checks reliable after the journal currency behavior change.
Original PR description
Task 2834678 Adding a default currency on bank and cash journals breaks reconciliation tests. This PR fixes the tests by adjusting currency_id.
Odoo Studio now correctly shows available fields when setting the default grouping for Kanban views. This lets users configure Kanban organization from the sidebar as expected, avoiding confusion and failed setup changes.
Original PR description
Before this commit: In the Kanban view sidebar editor, the default group by would not show any choices. After this commit: The default group by options shows the proper field choices and choosing one updates the view. Task Id: 3274711