Tuesday, June 13, 2023
12 changes · master
Enhancements to existing features
The messaging interface now shows unread and action counters with a cleaner, more consistent style across the messaging menu, chat windows, and live chat. This makes important conversations easier to spot while reducing visual clutter in chat headers.
Original PR description
- improved needaction badge in messaging menu and chat window - consistent chat window header on unread channel (do not show counter, bolder name) Task-3345133 https://github.com/odoo/enterprise/pull/42493 Before <img width="1399" alt="before" src="https://github.com/odoo/odoo/assets/6569390/327a5604-d896-49e8-9918-81a790a9fd27"> After  
Messages now more clearly show when someone posts on behalf of another person, helping users understand who actually sent a communication. Portal and project chatter message displays were also streamlined to send only the information needed, improving maintainability and potentially reducing unnecessary data processing.
New Spanish databases will now default to the chart setup intended for small and medium-sized businesses instead of the non-profit option. This makes the initial accounting configuration more relevant for most Spanish Odoo users and improves how available fiscal options are ordered during setup.
Original PR description
When you create a new Spanish DB, by default the installed localization package is the one for non-profit localization. This is probably the most convenient, as the most normal usage for standard Odoo is the PYMEs one. This PR modify the demo data and also change the order of how they are displayed in the fiscal position setting. task-id: 3336598 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Updates Odoo's spreadsheet engine with improvements to color selection, chart error feedback, formatting accuracy, clipboard behavior, and spreadsheet integration behavior. This should make spreadsheet work smoother and reduce small display or interaction issues for users.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/251a52e98 [REL] 16.4.0-alpha.4 https://github.com/odoo/o-spreadsheet/commit/73409d7eb [FIX] formatting: round floats…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/251a52e98 [REL] 16.4.0-alpha.4 https://github.com/odoo/o-spreadsheet/commit/73409d7eb [FIX] formatting: round floats with leading zeroes Task: 3327899 https://github.com/odoo/o-spreadsheet/commit/b98383f20 [FIX] misc: type of isCloneable interface https://github.com/odoo/o-spreadsheet/commit/08492ae06 [IMP] ColorPicker: Extend the custom color selection Task: 3272474 https://github.com/odoo/o-spreadsheet/commit/891d82d9d [REF] xlsx: remove useless exported check https://github.com/odoo/o-spreadsheet/commit/6f0ca54f1 [IMP] plugins: remove activeSheet from CoreViews Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/2ac86cdaa [IMP] cf evaluation: make cf evaluation lazy Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/6957579fa [FIX] style: fix dependencies of getCellComputedStyle Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/f035db27d [IMP] plugins: add Immutable type Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/735b3ced4 [IMP] plugins: add history to some CoreView plugins Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/f08900e7c [IMP] plugin: make CoreView plugins more core Task: 3288703 https://github.com/odoo/o-spreadsheet/commit/5fbde7277 [FIX] ColorPicker: fix `+` sign position https://github.com/odoo/o-spreadsheet/commit/565740d89 [IMP] doc: connecting to external API https://github.com/odoo/o-spreadsheet/commit/2a92e2dfb [IMP] sheet_actions: removed french spacing https://github.com/odoo/o-spreadsheet/commit/fbf076535 [IMP] charts: dynamic errors in side panel https://github.com/odoo/o-spreadsheet/commit/5a7435320 [FIX] demoData: fix XSLX demo data https://github.com/odoo/o-spreadsheet/commit/8b9c9887c [FIX] clipboard: Do not update viewport on `paste` https://github.com/odoo/o-spreadsheet/commit/1c4aa507f [REF] Selection: Let caller control selection visibilty Task: 3348042 https://github.com/odoo/o-spreadsheet/commit/c7b0d544f [IMP] config: enables type checking for binded functions
Sales reports can now identify whether each reported order came from Sales or Point of Sale, making order counts more accurate across channels. Pivot reports and dashboards were also adjusted so this new order link displays correctly in business reporting views.
Original PR description
It's currently not possible to know which `pos.order` is linked to a `sale.report` Solution: Add a field `order_reference` on model `sale.report`. This field refers to either a "sale.order" or a "pos.order" record. The field `order_reference` is used to count the number of distinct orders. We cannot simply use count_distinct on the `order_id` because there can be multiple sale.report with the same `order_id` but related to different models (sale or POS order).
Project task status tracking is clearer and more consistent across calendar, kanban, list, portal, and sharing views. The update also improves onboarding examples, demo data, progress colors, and adds guidance and tests so teams can more reliably follow task progress.
Original PR description
This PR is a followup for the [mark as done task](https://github.com/odoo/odoo/pull/107593), aimed at fixing little bugs, improve the feature and delete useless parts. New feature developed in this…
This PR is a followup for the [mark as done task](https://github.com/odoo/odoo/pull/107593), aimed at fixing little bugs, improve the feature and delete useless parts. New feature developed in this PR addresses: - Write Javascript tests for the project.task.state widget - Tests are in the project_task_state_selection.js - rewrite Research & Development demo data - Created a digest tip for task state selection (in Settings > technical > digest tips) - Tip: Use task state to keep track of the task progression  - Fix Sharingview (Readonly) icons for the project.task.state widget, previously only the color bubble were displayed in readonly sharing views, now all of the icons are displayed - Display state in the Calendar view - Display the same widget as in the kanban/list views - Remove is_closed References - more details in the commit msg - Adapt Kanban stages Exemples - Kanban exemples are available when creating a new stage in kanban view  - improve Progressbar colors (different color for approved/done, in_progress/waiting)  Linked PRs: Enterprise: https://github.com/odoo/enterprise/pull/39714 Upgrade: https://github.com/odoo/upgrade/pull/4548 Task-3213526 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an outdated internal "closed" task flag from Field Service and Project-related apps, aligning them with the newer mark-as-done flow. This reduces inconsistencies and small bugs when users complete or share tasks.
Original PR description
This PR is a followup for the [mark as done task](https://github.com/odoo/odoo/pull/107593), aimed at fixing little bugs, improve the feature and delete useless parts. Description of the issue/feature this PR addresses: - Remove is_closed References Linked PRs: Community: https://github.com/odoo/odoo/pull/117968 Upgrade: https://github.com/odoo/upgrade/pull/4548 Task-3213526 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo Studio now keeps users on the correct notebook tab after they change an element's settings in the Form editor. This avoids losing context and makes editing multi-tab forms smoother and less repetitive.
Original PR description
This commit improves the behavior of the Form editor when editing an element contained inside a notebook page. Before this commit, whenever an attribute or option is modified, the form renders with the first page of the notebook visible, even when the modified element was located in the second page. Now, when editing an element in the second page, the form view renders and automatically display the appropriate page with the element selected and ready to be edited again. A test has been added to verify that an edited element is still selected after such attribute change. task-3259495
The spreadsheet tools have been updated to a newer underlying version, bringing improvements across chart configuration, list autofill, and pivot autofill behavior. This helps keep Odoo's spreadsheet experience current and more reliable for users working with business data.
Original PR description
…-alpha.4
Resolved issues and error corrections
This fixes several issues in how Odoo updates form values automatically when a user changes related fields. The changes improve consistency for linked records and user permission/group fields, reducing incorrect or missing values in forms.
Original PR description
This pull request collects a bunch of fixes to method `onchange2()` and fixes some features used by this method. While not all commits include specific test cases, all those fixes are covered by test cases on the upcoming new server-side form view using `onchange2()` instead of `onchange()` https://github.com/odoo/odoo/pull/124614.
This fixes a crash that could happen when mobile website visitors ended or left a live chat with a chatbot. The change helps keep the website experience stable and prevents disruption for customers using live chat on mobile devices.
Original PR description
Steps to reproduce: - Create a chatbot - Browse your website as a user in moble - Start a conversation with your chatbot - Go back to your website or close the window There was a crash because some code in chat window service makes sense only in `/web`. Task-3367338
Recruitment kanban stages that have been used by applicants can no longer be deleted from the board. This prevents access errors in the time-in-stage analysis report and guides users to fold the column instead.
Original PR description
In the recruitment app, if at any point an applicant went through a kanban stage, that kanban stage will be included in the 'time in stage analysis' report. If that stage is then deleted, it will result in an access error when trying to see the report. The solution would be to archive the column instead but this not possible at the moment due to a framework limitation. Instead the button is left there with a warning telling it's not possible to delete, but to fold instead. task 3358569