Friday, December 23, 2022
5 changes · master
Enhancements to existing features
Product forms now show an average stock value for FIFO products instead of the value of the next item expected to leave stock. This makes inventory reports, adjustments, and margin estimates better aligned with real stock value when purchase prices vary.
Original PR description
…form 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
Users editing a view from the debug menu are now taken to a regular screen instead of a pop-up dialog. When they return using the breadcrumb, the updated view is shown automatically, reducing extra refresh steps and making configuration changes easier to verify.
Original PR description
Before this commit, editing views from debug menu opened a dialog and the user needed to refresh the page to see the changes. Now, the edit view is opened in a new action so when the user goes back in the breadcrumb, the view is updated. task id: 3081332
List view column headers now stay visible while users scroll through long tables. This makes it easier to track which information is in each column and improves day-to-day navigation in data-heavy screens.
Original PR description
With this commit, the header of list views no longer scrolls with the table, it remains visible on the top when scrolling. Task 1917230
Users can now quickly create records directly in Kanban columns grouped by multi-value fields, such as assignees or tags. This makes common Project workflows faster, including creating tasks from My Tasks or grouped project boards without extra navigation.
Original PR description
This commit adds the ability to quick create records from the kanban view when it is grouped by a many2many field. This feature improve the user experience for multiple views, here are some examples of new possible workflows: - Project -> My tasks (this view is grouped by m2m) -> quick create - Project -> Select a project -> group by Assignees -> quick create - Multiple module -> group by tags -> quick create The "My Tasks" view is grouped by the m2m `personal_stage_type_ids` field which is a complicated computed field on which we cannot write. A custom behaviour in their `ProjectTaskRecord` was necessary in order to support this feature. Previously, they also implemented a custom behaviour for this field to be able to move records between groups. task-id: 2960497
Images added to website content by dragging, dropping, or pasting are now saved as regular attachments instead of being embedded directly in the page. This improves page storage and consistency with other image editing actions, while also simplifying supported image type handling behind the scenes.
Original PR description
When images are dropped from outside the browser into a website page text paragraph, they are stored as an inline base64-encoded source. This commit marks those images to be saved as attachments when it happens in website. The save happens upon page save similarly to what is done when images are transformed. This commit also applies this behavior for pasted images. task-2928495