Thursday, May 30, 2024
15 changes
3 changes
Resolved issues and error corrections
This fix ensures permission checks for newly created or unsaved users return a safe negative result instead of causing an error. It improves reliability in workflows where user records may be checked before they are fully saved.
Original PR description
opw-3940549 opw-3943985 opw-3943909 opw-3937897 opw-3932111
This fixes default mail activity test records so they are treated as active and can be found during standard searches. It improves the reliability of mail-related automated tests and mock data behavior without changing end-user features.
Original PR description
**Before this PR:** Default records in `mail_activity` mock model are not set active by default, as a result when you do search operation on `mail.activity` it will check `active_test` and won't return these records. **After this PR:** Setting `active` true so these records would pass `active_test`. Part of task-[3818666](https://www.odoo.com/odoo/project/1519/tasks/3818666?debug=&cids=2) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where the message chatter panel appeared inside pop-up dialogs, such as when opening a Time Off calendar entry. The change keeps dialogs cleaner and prevents users from seeing an unexpected communication panel where it should not be shown.
Original PR description
Before this commit, the chatter was shown in dialog when it should never. Steps to reproduce: - Install Time Off (`hr_holidays`) - Open Time Off app - Click on a date in the calendar view => The chatter is visible in dialog when it shouldn't This happens because the Chatter hook had a `t-if` on `!env.inDialog`, but it was overridden by another `t-if` on layout. As a result, the view template never took into consideration of `!env.inDialog`. This commit fixes the issue by properly combining the 2 `t-if` together. task-3957107
3 changes
Resolved issues and error corrections
A Romanian SAF-T automated test was adjusted so it no longer relies on an optional Intrastat feature. This helps keep test results reliable when that optional module is not installed, without changing business functionality.
Original PR description
One of the tests was testing an `account_intrastat` related field, but the module's not a hard dependency, so we're discarding it. Related PR: odoo/enterprise#59363 runbot-66310
9 changes
Resolved issues and error corrections
A duplicate rating field was appearing in the helpdesk ticket list view. This fix hides the unused "rating_last_text" field to ensure customers only see one rating display, improving the clarity and appearance of the ticket list.
Original PR description
This commit hides the unused "rating_last_text" field from the list view of tickets, preventing a duplicate rating. Linked PR: https://github.com/odoo/enterprise/pull/52371 task-3869775
Preparation display orders now show the employee name when the POS HR module is installed, instead of falling back to the user name. This helps staff and managers identify who handled an order more accurately on the preparation display.
Original PR description
Before on each preprartion display order the user name was displayed instead of the employee name even when pos_hr module was installed. This commit adds the employee name to the preparation display order and when the pos_hr module is installed it will display the employee name instead of the user name. taskId: 3956671
This fixes an error that could occur when opening a storable product after searching products by warehouse in Inventory. The report context now handles the warehouse correctly, preventing a traceback and allowing users to view product details normally.
Original PR description
Steps to reproduce: - Navigate to Product Variants list view in the Inventory module - Search for a warehouse e.g. "My Company" in the list view - Click on any storable product e.g. DESK0005 This gives a traceback because the 'warehouse_id' in the context may be the name and not the id. Linked to: - https://github.com/odoo/odoo/pull/167283
This fix enables regular users (non-administrators) to create marketing campaigns from templates, a feature that was previously restricted to admin users only. This improves workflow efficiency by allowing team members with marketing automation access to leverage pre-built campaign templates without requiring admin privileges.
Original PR description
also modified: test_marketing_automation Previously, campaign templates could not be used by non-admin users. This commit allows non-admin users with access to the marketing_automation app to create campaigns from templates as expected. task-3603400 Backport of: odoo@8fcdb85f0c4279c6a16c26aa669496cf456f0631
This fix removes VAT number grouping from the Dutch ICP (Intra-Community Purchases) report to ensure accurate reporting. The change simplifies how VAT numbers are handled in the report, improving compliance with Dutch tax reporting requirements.
Original PR description
Removing the VAT numbers grouping from the Dutch ICP report opw-3944815 Forward-Port-Of: odoo/enterprise#63357 Forward-Port-Of: odoo/enterprise#63186
This update corrects a date handling issue in the Mexican electronic invoicing system by reverting a previous change that was causing problems with invoice date processing. The fix ensures that invoice dates are properly set to the current date, resolving multiple reported issues and improving the accuracy of electronic invoice submissions to Mexican tax authorities.
Original PR description
This reverts commit 819ed2a64d0f11f33190af0c804955e380242968. opw-3955626 but there are many others
This update fixes a German grammar error in the localization files for German DATEV reports. The correction ensures that German language text displays correctly to users in Germany, improving the accuracy and professionalism of the system's German interface.
Original PR description
German grammar is tricky Forward-Port-Of: odoo/enterprise#63334 Forward-Port-Of: odoo/enterprise#63317
The cookies consent bar was blocking the content of the cookie policy page, making it difficult for users to read important information. This fix hides the cookies bar on the policy page and adds a toggle button so users can show it again if needed. This ensures the policy page remains fully readable while still allowing users to manage their cookie preferences.
Original PR description
With the popup-styled cookies bar, the cookies policy page is unreadable. It is also the case with all cookies bar with a backdrop. The "discrete" and "classic" bars can also potentially hide the last paragraph(s) of the page. To avoid that, this commit adds a button to toggle the bar on that page. Note that the cookies policy page could be on any URL, but it has to be referenced in the `a.o_cookies_bar_text_policy` link within the cookies bar. task-3733860 Forward-Port-Of: odoo/odoo#166829 Forward-Port-Of: odoo/odoo#162386
This fix resolves an issue where users could not select newly created projects when creating sale orders if those projects didn't have a company assigned. The change updates the project selection filter to allow projects without company information, enabling the normal workflow for project-based sales orders.
Original PR description
Current behavior before PR: - Cannot select projects with `company_id` = `False` when creating sale orders.  Desired behavior after PR is merged: - Allow to select projects with `company_id` = `False`.  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update optimizes how the HR Holidays module searches for leave requests by description. The change prevents large database queries from overloading the system, improving overall performance and stability when searching through holiday records.
Original PR description
**Description of the issue/feature this PR addresses:** fine tuning of https://github.com/odoo/odoo/commit/f8182fb625eb3e20c85388d4c342553af4fe7ab9 Before this commit a huge query can be overload postgress. @thle-odoo @sofiagvaladze --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix resolves a server error that occurred when updating a new Point of Sale order. Users were experiencing crashes when clicking the update button on orders in the 'New' state. The problematic button has been removed to prevent this error and improve system stability.
Original PR description
go to Point of sales -> choose menu a pos -> view order -> choose order has state 'New' -> chooose '(update)' -> server error  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr