Daily updates from Odoo
Monday, November 18, 2024
16 changes
2 changes
Resolved issues and error corrections
The attendance menu now closes immediately after an employee clicks check in or check out, preventing accidental double clicks from creating duplicate attendance actions. This helps keep attendance records more accurate and reduces manual corrections for HR teams.
Original PR description
Before this commit, a user was able to double click on check-in/check-out. To avoid that the pop-up will be automatically closed when the button will be clicked. task-4316077 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 point of sale lot and serial number dropdown now aligns correctly for users working in right-to-left languages such as Arabic. This improves usability during checkout and inventory tracking without changing behavior for left-to-right languages or mobile users.
Original PR description
The dropdown selection for tracking/lot number is misaligned when the users has a rtl language. Steps to reproduce: ------------------- * Switch the current user to a rtl language (arabic for ex) *…
The dropdown selection for tracking/lot number is misaligned when the users has a rtl language. Steps to reproduce: ------------------- * Switch the current user to a rtl language (arabic for ex) * Open shop session * Select the drawer product > Observation: dropdown selection is misaligned Before vs after fix: ------------------------- RTL computer: * Before:  * After:  RTL mobile: * Before:  * After:  LTR computer: * Before:  * After:  LTR mobile * Before:  * After:  Also works if we move the popup around. opw-4187095
2 changes
Resolved issues and error corrections
Belgian payroll time off requests will no longer create an eDRS activity for the person submitting or processing the request when no notified time off officers are configured. This prevents unnecessary or incorrectly assigned follow-up tasks and keeps notifications aligned with the leave type settings.
Original PR description
The eDRS activity on time off request is sent to the current logged in user if there are no `Notified Time Off Officers` specified on the leave type. However, this shouldn't be the case. The activity shouldn't be created if there are no `Notified Time Off Officers`. These changes address this issue. task-4267132
This change reverses a previous behavior where submitting a website helpdesk form could set or change the related customer on a task based on the email entered in the form. This helps avoid incorrect customer associations and keeps helpdesk/task records aligned with the intended contact data.
Original PR description
COM PR: odoo/odoo#186140 UPG PR: odoo/upgrade#6715 task-4295363
8 changes
Resolved issues and error corrections
This update prevents a restaurant point-of-sale automated test from failing when a failed-printing pop-up appears. By closing that pop-up before continuing, the test flow becomes more stable and reduces false failures during quality checks.
Original PR description
In this commit, we ensure to close modal (failed printing) before continue the tour or it can cause failures in tour. 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 mail GIF picker now handles duplicate category names from external GIF data, which could previously cause a crash in some languages such as Portuguese. This improves reliability for users adding GIFs in discussions without changing the visible feature set.
Original PR description
Before this commit, opening of GIF picker in some languages like Portuguese could lead to following crash: ``` OwlError: Got duplicate key in t-foreach: #irritado ``` This happens because GIF picker categories come from Tenor data and there might be duplicated categories. However in code we use `category.name` for `t-key`, thus there was a crash when 2 categories had the same name. This commit fixes the issue by using `category_index` instead, which is the index of category in the global list of categories, which is necessarily unique for each GIF category. opw-4319241
This change updates documentation links across Odoo so they point to the correct 18.0 documentation instead of older or generic versions. It helps users and administrators reach the right guidance for their current Odoo version, reducing confusion when following help links.
Original PR description
same like https://github.com/odoo/odoo/pull/141406 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 Trial Balance report now correctly displays ending balance amounts when the "Blank if Zero" option is enabled. This prevents non-zero ending balances from being hidden on lines that only have debit or only have credit activity, improving report accuracy for finance users.
Original PR description
To reproduce: - Edit 'Trial Balance' report and enable the "Blank if Zero" option for both debit and credit lines - Open a 'Trial Balance', observe there is no 'End Balance' values for line where there are only debit or only credit amounts. This commit also update the `is_zero` option for end balance columns value to ensure there are correctly shown when "Blank if Zero" option is enabled.
This fixes an error in Colombian online checkout when customers edit a delivery address that is also used for billing. The checkout now shows the required obligation type information in that case, helping customers complete purchases without interruption.
Original PR description
Steps to reproduce: 1. Create a store with Colombian localization. 2. Go to the shop and select any product. 3. Proceed to checkout and try to edit the delivery address. An error occurs when editing the delivery address because the `obligation_types` field is NULL. The issue is caused by the condition in the template ([link to the condition]), which checks only if `address_type` is 'billing'. However, the address type can be 'delivery' when using the delivery address as the billing address, resulting in a null reference in the DOM for the obligation types element. I Updated the condition to check for `(address_type == 'billing' or use_delivery_as_billing)`, ensuring that the obligation types element is displayed correctly when the delivery address is used as the billing address. opw-4309448
This update prevents an error during checkout for Colombian online stores when customers edit a delivery address that is also used for billing. It ensures the required tax obligation information appears in the right situation, helping customers complete purchases without interruption.
Original PR description
Steps to reproduce: 1. Create a store with Colombian localization. 2. Go to the shop and select any product. 3. Proceed to checkout and try to edit the delivery address. An error occurs when editing the delivery address because the `obligation_types` field is NULL. The issue is caused by the condition in the template ([link to the condition]), which checks only if `address_type` is 'billing'. However, the address type can be 'delivery' when using the delivery address as the billing address, resulting in a null reference in the DOM for the obligation types element. Solution: Updated the condition to check for `(address_type == 'billing' or use_delivery_as_billing)`, ensuring that the obligation types element is displayed correctly when the delivery address is used as the billing address. opw-4309448
This change fixes an automated check for the restaurant preparation display by preventing an unrelated printer error message from appearing during the test. It helps keep quality checks stable so future updates can be validated with fewer false failures.
Original PR description
Fix tour test_03_preparation_display_skip_change by unlink printer config to avoid the appear of modal "printing failed".
This update adjusts an automated restaurant preparation display test so it no longer triggers an unrelated printing failure message. This helps keep quality checks stable and reduces false alarms during development.
Original PR description
Fix tour test_03_preparation_display_skip_change by unlink printer config to avoid the appear of modal "printing failed".
4 changes
Resolved issues and error corrections
This update corrects a display issue where localization fields from the Uruguay localization (l10n_uy_edi) were incorrectly showing on invoices for other countries. This ensures invoices are presented accurately and consistently, regardless of the selected country setting within Odoo Enterprise. The fix improves the user experience and data integrity.
Original PR description
… other country's invoices
This update enhances the error messages displayed when registering the UY EDI proxy in Odoo. The change provides more detailed information to users, making it easier to troubleshoot issues and resolve registration problems. This improves the overall user experience and reduces potential delays caused by unclear error messages.
This update resolves issues where tests were failing due to reliance on demo data. The changes remove this dependency, making tests more reliable and faster to run, ultimately improving the stability of the Odoo Enterprise platform. Several modules were affected, including stock, accounting, and sales.
Original PR description
Forward-Port-Of: odoo/enterprise#72823
This update corrects missing translations for the Modelo349 tax report specifically for Spanish businesses. Ensuring accurate reporting in Spanish is now a priority, improving compliance and user experience for our Spanish-speaking customers.
Original PR description
This commit fix some missing translations for the modelo349 tax report in spain. no-task