Daily updates from Odoo
Monday, December 9, 2019
16 changes · master
Enhancements to existing features
Project task lists now stay focused on the selected project even if users remove the default filter, preventing cluttered kanban views. Task breadcrumbs also show the project name, making navigation clearer for users moving from project cards to tasks.
Original PR description
Pad:https://pad.odoo.com/p/r.1bd2e128f23118237b14e8c596093eb8 Task:https://www.odoo.com/web#id=2124377&action=327&model=project.task&view_type=form&menu_id=4720
Web actions can now save their own custom state in the page URL, making it easier to restore the same context after a browser refresh. This improves continuity for users in fullscreen actions and gives Odoo extensions more flexibility without changing core navigation behavior.
Original PR description
Sometimes, it might be useful for an action (e.g. a client action, although this may be used by standard views as well) to include custom values in its state. Since the state of a 'fullscreen' action is pushed in the URL, this means that it is possible for the action to resume its state properly upon refresh of the page (before this commit, only some standard information were pushed to the state - action_id, menu_id, etc. for window actions and action's name, active_id, active_ids for client actions). By implementing the `getState` method, an extension of the action mixin can thus push any state it wishes to the URL.
The website editor now refreshes page widgets automatically after editing options, making changes appear more reliably while content is being adjusted. It also improves how editor actions are handled behind the scenes and prevents certain edit-mode animations from restarting unnecessarily.
Check printing is now easier to adapt for different countries by allowing country-specific modules to define their own check layouts and related print actions. This makes it simpler for businesses operating in new regions to add compliant check formats without changing the core check printing feature.
Original PR description
Task: https://www.odoo.com/web#id=2030714&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.ddf719c3c5c3d5e68c1523369961d6b3
This update gives major configuration sections clear internal names across many Odoo apps. It makes future customizations and extensions safer and easier to maintain, without changing how users interact with the settings screens.
Original PR description
Description of the issue/feature this PR addresses: Since all containers within a configuration view have the same class 'row mt16 o_settings_container' it doesn't allow for very clean/easy xpath expressions. By setting a name on evey major container we can do cleaner and safer xpath expressions that don't need any index or sub-xpaths.
Follow-up of https://github.com/odoo/odoo/pull/39613
Current behavior before PR: If you'd like to xpath into the purchase configuration view and and insert after the last element you'd have to create ugly xpaths with indexes. Something like `<xpath expr="//div[hasclass('o_settings_container'][3]" position="after"></xpath>`
Desired behavior after PR is merged: After this change you can do a clean and safer xpath expression like `<xpath expr="//div[@name='purchase_setting_container']" position="after"></xpath>`
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update enables editing multiple list entries at once in project, timesheet, and expense screens. It helps users make bulk updates more quickly, reducing repetitive manual work in day-to-day operations.
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
The web charting library was updated so charts display date labels more reliably, including on smaller mobile screens. This helps users see time-based information more clearly in views such as Accounting Overview.
Original PR description
Update of Chart.js library to the latest version. Before this commit, we weren't able to see all x-axis dates labels like in Accounting Overview. Tick label rotation on mobile has been fixed in https://github.com/chartjs/Chart.js/pull/5961. 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
Calendar users can now apply changes to all future occurrences of a recurring event starting from a selected date. This makes it easier to adjust ongoing meetings or schedules without manually editing each occurrence, while preserving earlier event history.
Original PR description
The current behaviour with the calendar recurring events is: * You create one event in database * It generate virtual events with virtual ids * If you want to edit a virtual event, it creates a new…
The current behaviour with the calendar recurring events is: * You create one event in database * It generate virtual events with virtual ids * If you want to edit a virtual event, it creates a new real records from the virtual event. * It is not possible to updates multiple virtual events at the same time. What does this improvement does: * You can choose to edit all the future events from a selected date. How does it work: When you choose to update the future virtual events, this commit will: * Copy the original event. * Set the final date of the original event to the selected date. * return the new event Thus you will have two event object. One from the initial start date to the selected date Another from the selected date to the initial final date. 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 can now cancel scheduled activities from the chatter area, making it easier to keep communication and follow-up tasks accurate. This reduces clutter from outdated activities and helps teams maintain a clearer view of what still needs action.
Original PR description
Pad: https://pad.odoo.com/p/r.dab6c5a8fab1d0df86ca827b875e8e91 Task: https://www.odoo.com/web?debug=1#id=2006344&action=327&model=project.task&view_type=form&menu_id=4720
CSV files used by Odoo can now include comment rows that start with #, making large manually maintained files easier to organize and update. This is mainly an internal developer convenience and should not affect normal business workflows, except that real data rows should not begin with #.
Original PR description
Certain manually-maintained csv files contain lots of data, sometimes it's hard to keep track of this data in an organized fashion and thus updating these files can become quite tedious. To make it easier for developers, we now allow the usage of comments in CSV files, since comments are not defined in the CSV spec, we arbitrarily decide that any row starting with # is a comment and will therefore be discarded before the parsing of the csv data. Note that this means that any actual data should not begin with #, if this turns out to be a problem, the algorithm may be replaced by a more robust one. Task-ID: 2127354 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 modernizes pivot reporting views so they work better in mobile and in Odoo Studio. It also updates related tests to improve reliability and support the newer interface framework.
Companies can now choose any available check layout from Accounting Settings instead of being limited to country-specific options. This makes check printing setup more flexible for businesses operating with different formats or across regions.
Original PR description
Task: https://www.odoo.com/web#id=2030714&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.ddf719c3c5c3d5e68c1523369961d6b3 related community PR: https://github.com/odoo/odoo/pull/35438
Helpdesk teams now keep their own ticket view focused on the selected team, even if a user removes the default filter. Ticket navigation also shows the team name in the breadcrumb, making it clearer where users are working.
Original PR description
Pad:https://pad.odoo.com/p/r.1bd2e128f23118237b14e8c596093eb8 Task:https://www.odoo.com/web#id=2124377&action=327&model=project.task&view_type=form&menu_id=4720
This update makes list views editable in bulk across Helpdesk, Field Service, Planning, and Project Forecast. Teams can update several records at once, reducing repetitive data entry and speeding up day-to-day operations.
Planning shifts can now select any task before a project is chosen, and the project will automatically align with the selected task. This reduces confusing restrictions and prevents accidental changes to a task's project when mismatched planning details are selected.
Original PR description
* existing static domain was almost exactly what we wanted: the only
issue was that if no project was selected (yet) we'd only allow
selecting tasks not linked to a project, whereas the dynamic domain
would allow selecting any task period (with an other onchange
updating the project to match the task)
* also simplify the task onchange:
- always set the project to the task's project
- if we somehow manage to select a project and a task which don't
match, don't go and move the task from one project to the other,
that doesn't seem very sane
Task 2115472The IoT app now includes sample IoT Boxes and connected devices for demonstration and testing. This makes it easier for users and teams to explore IoT workflows without manually creating example hardware records.
Original PR description
Add demo data for IoT Boxes and devices TaskID: 2092615