Wednesday, October 25, 2023
13 changes · master
Enhancements to existing features
This update reorganizes part of the sales and stock workflow so rental-related deliveries can be supported more cleanly. It is an internal improvement that helps prepare the system for better rental picking behavior without changing day-to-day screens for most users.
Original PR description
Refactored _action_launch_stock_rule to create _create_procurement_group. Needed for rental pickings. task 3109952 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Print Labels option now appears only for products where labels are relevant: storable and consumable items. This reduces confusion by hiding the option for non-physical products such as event tickets, booths, or courses.
Original PR description
Before this commit, the "Print Labels" button shows for all products except services. However, this button does not make sense for event_booth, event_ticket, course, ... products So we only show this button for storable and consumable products. Task-3390587
Several user-facing buttons, actions, and notifications have been reworded across Discuss, Web, Calendar, CRM, and related tour screens. This makes common actions such as leaving conversations, deleting filters, stopping synchronization, and assigning leads easier to understand and reduces ambiguity for users.
Original PR description
This PR changes the wording of actions and notifications in the modules listed below: 1) Discuss (Leave Conversation) 2) Web (Delete Filter, Get View - Close, Tours - Close and property field access warning) 3) Calendar (Stop Synchronization, Configure, and Discard) 4) CRM (Assign Leads) 5) POS (replaced `this.env._t` with `_t`) **Task**-3390780
This update removes an older internal error-handling helper and replaces it with standard handling across several Odoo apps. It helps make browser-side errors more consistent and easier to maintain without changing business workflows.
Original PR description
This commit removes the promise extension which added the function `guardedCatch`. It was used to filter server and connection errors from javascript errors. Instead of using guardedCatch, we should use catch and check if the reason is a server or connection error if needed and re-throw the error if it's not handled. task: 3439226 Enterprise: https://github.com/odoo/enterprise/pull/48451
This update adds extra information fields used when importing industry-specific modules. It helps Odoo better recognize and handle these modules during import, making module management more complete and reliable.
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
This update removes confusing internal details from some access-related error reports. It helps support and technical teams see the real cause of a problem faster, without misleading cache-related messages in the traceback.
Original PR description
Currently if a record is not in the cache it raises a `CacheMiss` the handling of which leads to loading the record from the database (or something). If an issue occurs during that loading, because the loading is an `except` scope the cache miss gets linked with the new one via > During handling of the above exception, another exception occurred: This is both noise (the cache miss is not actually relevant) and misleading, because the wording makes it look like an unrelated error occurred during handling. - move the loading of the record out of the `except` to limit the scope of the `KeyError` and avoid "inheriting" it - try to `from None` a few specific errors to remove implicit linkage, as the new error should have all relevant information, the key error / cache miss is just an implementation detail
The timesheet app now includes billing time targets for most demo employees, so the billing leaderboard displays meaningful sample data. The update also improves the leaderboard header layout and places related settings in the correct category, making demos and configuration clearer.
Original PR description
This PR adds a billing time target for most demo employees, as without it, they don't appear in the billing leaderboard. It also fixes a small visual bug related to the leaderboard: the timer header doesn't have a fixed height when the leaderboard is activated depending on whether or not there is data for it. Task-3570491
Brazilian AvaTax requests now send each line's unit price and quantity in addition to the existing tax information. This prepares the integration for future electronic invoicing needs while keeping the current tax calculation behavior unchanged.
Original PR description
Although not strictly needed for tax calculation, it doesn't hurt and will be necessary for EDI later. Since adding it cleanly requires a change in function signature we already do it now. This decreases the likelihood of somebody relying on this exact function signature in other code.
The spacing between appointment details and table visuals on restaurant floor plans has been reduced. This makes the point-of-sale floor view cleaner and easier for staff to read at a glance.
Original PR description
There used to be a big gap between the appointment information and the table on the pos_restaurant floor_plan. We've now reduced this gap.
This update removes older appraisal survey views and records that were only needed during a previous backport. It keeps the appraisal survey setup cleaner and easier to maintain without changing day-to-day business workflows.
Original PR description
Following this backport https://github.com/odoo/enterprise/pull/45465 , we cleanup in this PR the views and records that had to be added in stable and remove the old ones
This change removes an outdated error-handling helper and updates affected areas to use the standard approach for handling failed operations. It helps keep the platform easier to maintain while preserving expected behavior for server and connection issues.
Original PR description
This commit removes the promise extension which added the function `guardedCatch`. It was used to filter server and connection errors from javascript errors. Instead of using guardedCatch, we should use catch and check if the reason is a server or connection error if needed and re-throw the error if it's not handled. task: 3439226 Community: https://github.com/odoo/odoo/pull/137702
The wording of two Knowledge app buttons has been updated to make their actions clearer for users. This minor improvement helps users better understand where content will be moved when organizing articles.
Original PR description
This PR changes the wording of the buttons listed below: -Move to Workspace -Move to Private Task-3390780
Administrators now have dedicated permissions to delete approval requests, rather than relying on rules intended for approval officers. This makes access management clearer and easier to adjust in the future without affecting other roles.
Original PR description
I created basic rights for administrator to gives them permissions to delete approval requests (I also duplicate the other rules so if in the future if we want to change one of them it will be possible without affecting the admin) Before that it was limited to the domain for officer