Daily updates from Odoo
Navigate
Branch
Thursday, May 5, 2022
14 changes
Enhancements to existing features
This update streamlines how several accounting-related features filter accounting entries, reducing unnecessary database work. Users should see the same results, with potential performance improvements in reports, reconciliation, assets, budgets, follow-ups, consolidation, Mexican reports, and subscriptions.
Original PR description
Take advantage of already stored parent_state on account.move.line to use simpler domains and avoid adding a JOIN in ORM queries.
This update improves how project tasks and planning information are displayed, making recent dates and task lists easier to find. It also adds a project timeline view when project stages are enabled and cleans up demo data for a more consistent setup experience.
Original PR description
This PR brings the following improvements to project: - Order the lines alphabetically in the gantt view, except when grouping by stage or personal stage. - Swap the order of the gantt and calendar views for tasks. - Sort dates in decreasing order in the 'Timesheets and Planning Analysis' report pivot view. - Merge duplicate stages in demo data. - Add a new gantt view for projects when the "Project Stages" feature is enabled. Related: https://github.com/odoo/odoo/pull/86008 Task-2741733
The Planning app is easier to use with clearer filters, list views, guided tours, and alphabetical ordering in the Gantt schedule. Employee departures now automatically turn future assigned shifts into open shifts, helping managers reassign work more smoothly, and demo data was improved for better examples.
Original PR description
- Improve the filters, list views, tour, and some feature usability. - Improve employee archiving flow. - Sort the items by alphabetical order planning Gantt view. - Improve demo data for the planning. task-2780875
This update aligns several Enterprise screens with Odoo's shared brand color styling, reducing duplicated custom design rules across modules. Users should see more consistent colors and interaction states across areas like Documents, Helpdesk, Sign, Stock Barcode, Timesheets, and VoIP, with no expected workflow changes.
Original PR description
community: - https://github.com/odoo/odoo/pull/87448 Adaptations for https://github.com/odoo/odoo/pull/87448 . Follows community description: Prior to this PR branded UI components were styled exclusively in raw SCSS using the '$o-brand-odoo' variable. This leaded to unnecessary code repetitions since, to achieve the same visual result, each module defined its own classes. Visual inconsistencies were frequent too since each module defined its own variations for interactive states (eg :hover). This commit injects '$o-brand-odoo' into bootstrap's default '$theme-color' map, allowing the framework to automatically generate odoo utility/contextual classes. These classes can be used to handle text, backgrounds, borders and buttons wherever needed. Part of the overall v16 SCSS optimization/restyle, task-2704984. task-2800721
The timesheet grid experience is refined with clearer timer guidance, better button behavior, and more compact rows when tracking time by day. Employee reminder emails now show rounded hours, making timesheet information easier to read and act on.
Original PR description
Purpose of this PR to improve generic UX of timesheet app and grid view. So, in this PR: - round timesheet hours to two digits in mail templete of employee reminder. - change description of timesheet created from grid view. - change timer tip in timesheet grid view. - add hover effect on timer button in grid row. - change height of grid row when it contains a button. task-2784776
Resolved issues and error corrections
The Documents spreadsheet editor now shows time formats correctly while users are editing formulas or cell content. This makes spreadsheet editing clearer and helps avoid confusion when working with time-based data.
Code cleanup and technical improvements
This update reorganizes internal test code in the Documents app to prepare for a future change in how actions are triggered. It should not change day-to-day behavior, but it makes the upcoming work easier to review and safer to deliver.
Original PR description
This PR helps reducing the noise in the one introducing the new environment in the discuss app. Indeed, we won't rely on the bus anymore to listen to do actions, we will instead use the action service. The diff is awfull because the indentation has changed as well as the parameter names. Changing the indentation and the parameters now will ease the review of the main task. task-2582313 community: https://github.com/odoo/odoo/pull/90581
Miscellaneous changes
task-2824272 Forward-Port-Of: odoo/enterprise#26922
Original PR description
task-2824272 Forward-Port-Of: odoo/enterprise#26922
Add a new provider for currency exchange rates: https://www.cbe.org.eg/en/EconomicResearch/Statistics/Pages/OfficialRatesListing.aspx Task-2733489 Forward-Port-Of: odoo/enterprise#26731 Forward-Port-Of: odoo/enterprise#24547
Original PR description
Add a new provider for currency exchange rates: https://www.cbe.org.eg/en/EconomicResearch/Statistics/Pages/OfficialRatesListing.aspx Task-2733489 Forward-Port-Of: odoo/enterprise#26731 Forward-Port-Of: odoo/enterprise#24547
It's a nondeterministic problem. Sometimes in the barcode application when scanning, the virtual keyborad pop and never close itself. It happens because `setTimeout(mobile.methods.closeVirtualKeyboard, 0);` not always works (I don't know why) and the `_blurBarcodeInput` only empty the content but doesn't call blur since the keyboard should already be close due to `closeVirtualKeyboard`. The current fix, remove the override, in order to still calling blur if the `closeVirtualKeyBoard`
Original PR description
It's a nondeterministic problem. Sometimes in the barcode application when scanning, the virtual keyborad pop and never close itself. It happens because `setTimeout(mobile.methods.closeVirtualKeyboard, 0);` not always works (I don't know why) and the `_blurBarcodeInput` only empty the content but doesn't call blur since the keyboard should already be close due to `closeVirtualKeyboard`. The current fix, remove the override, in order to still calling blur if the `closeVirtualKeyBoard` failed. A better fix would be to ensure that the virtual keyboard on mobile never show opw-2612019 Forward-Port-Of: odoo/enterprise#26618
Previous to this: exempt receipts schema is validated as if it was an invoice. After this: force selection of schema validation for exempt receipts in this document type, 41 as the same used for 39 doc type Forward-Port-Of: odoo/enterprise#26412 Forward-Port-Of: odoo/enterprise#26170
Original PR description
Previous to this: exempt receipts schema is validated as if it was an invoice. After this: force selection of schema validation for exempt receipts in this document type, 41 as the same used for 39 doc type Forward-Port-Of: odoo/enterprise#26412 Forward-Port-Of: odoo/enterprise#26170
Step to reproduce: - Activate export to SDWorx - Remove the afternoon periods from the company's working hours - Export Work Entries to SDWorx Current behaviour: - Traceback - We try to access information that we are not sure is present Behaviour after PR: - No traceback - Check if information is present before formatting it opw-2828761 Forward-Port-Of: odoo/enterprise#26810
Original PR description
Step to reproduce: - Activate export to SDWorx - Remove the afternoon periods from the company's working hours - Export Work Entries to SDWorx Current behaviour: - Traceback - We try to access information that we are not sure is present Behaviour after PR: - No traceback - Check if information is present before formatting it opw-2828761 Forward-Port-Of: odoo/enterprise#26810
Purpose ======= When you upgrade Document app, you get back all data from installation, even if you deleted it. It can be confusing and create a lot of unwanted noise in your upgrade process. More over, in the context of the rolling release where you upgrade many times on the year, this can be demotivating. TaskID: 2827001 Forward-Port-Of: odoo/enterprise#26374
Original PR description
Purpose ======= When you upgrade Document app, you get back all data from installation, even if you deleted it. It can be confusing and create a lot of unwanted noise in your upgrade process. More over, in the context of the rolling release where you upgrade many times on the year, this can be demotivating. TaskID: 2827001 Forward-Port-Of: odoo/enterprise#26374
Steps to reproduce: - install timesheet_grid - go to timesheet - All timesheet - Add pivot view to dashboard - refresh - open dashboard Same issue as https://github.com/odoo/odoo/pull/88385 and https://github.com/odoo/odoo/pull/86571 Fix: add the legacy version of `timesheet_pivot_view` opw-2829450 Forward-Port-Of: odoo/enterprise#26593 Forward-Port-Of: odoo/enterprise#26431
Original PR description
Steps to reproduce: - install timesheet_grid - go to timesheet - All timesheet - Add pivot view to dashboard - refresh - open dashboard Same issue as https://github.com/odoo/odoo/pull/88385 and https://github.com/odoo/odoo/pull/86571 Fix: add the legacy version of `timesheet_pivot_view` opw-2829450 Forward-Port-Of: odoo/enterprise#26593 Forward-Port-Of: odoo/enterprise#26431