Friday, May 17, 2024
17 changes · 17.0
New functionality added to Odoo
This update adds French language translations to the HR Holidays module for French localization. The translation files have been updated to provide French-language support for holiday and leave management features, making the system more accessible to French-speaking users in France.
Original PR description
opw-3904133
Enhancements to existing features
This update removes the "Amounts to Settle" menu items from the Customers and Vendors dropdown menus to reduce clutter. Users can still access this information through the dashboard or the Aged Payable/Aged Receivable reports, making the interface cleaner and easier to navigate.
Original PR description
Description of the issue this commit addresses: The Customers and Vendors dropdown start to bloat and the Amounts to Settle view can be reached via the dashboard or the Aged Payable/Aged Receivable reports. Therefore, we can remove them to lower the amount of buttons. Desired behavior after this commit is merged: The menuitems in the Customers and the Vendors dropdown to reach the Amounts to Settle view have been removed. no task linked, feedback --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
Users whose access has been revoked will now receive a more accurate message when they try to log in, rather than being told the account does not exist. This reduces confusion and avoids suggesting that a new account can be created with an email that is still registered.
Original PR description
**Current behavior:** When there is a login attempt from credentials belonging to a previously archived/access revoked user record, the current log messages they see will indicate that this login…
**Current behavior:** When there is a login attempt from credentials belonging to a previously archived/access revoked user record, the current log messages they see will indicate that this login does not exist. This can lead to confusion as it implies a new account may be created with that email/login- even though it is still in the database (so this cannot be done). **Expected behavior:** Provide a more accurate log/error message to the user which will not indicate that creating a new account with the provided credentials is possible. **Steps to reproduce:** 1. Install the Portal module, revoke access from the demo portal user 2. Attempt to login with the demo portal user from a separate session -> current messaging can be misinterpreted **Cause of the issue:** We treat archived users as if they didn't exist when validating logins. **Fix:** Check whether the credentials used belong to an archived user and propagate a distinct AccessError when this is the case. opw-3894589
Miscellaneous changes
According to MDN: > Unlike the input event, the change event is not necessarily fired for each alteration to an element's value. https://github.com/odoo/odoo/pull/165411 Forward-Port-Of: odoo/enterprise#62628
Original PR description
According to MDN: > Unlike the input event, the change event is not necessarily fired for each alteration to an element's value. https://github.com/odoo/odoo/pull/165411 Forward-Port-Of: odoo/enterprise#62628
The trash icon in list views now lines up correctly with surrounding text and buttons. This fixes a small visual inconsistency that could make rows look uneven, improving polish without changing functionality.
Original PR description
This commit follows the list view renderer commit 62172737b689d08856f4ad3d3d49beb796c9f42e which adapts the vertical alignment inside the list view. Thus why this fix is in the same task. The btn remove (trash icon) was set to a padding of five pixels making it not vertically align with the rest of the list view text. This comes from commit 258e6a019a21042bf4f6cf70fcce386d37afd50c where the trash icon was moved to align with the new "View" button, but it misaligned the icon in all the other list views. Applying an align top on the "View" button instead allows an even alignment with the rest of the text content of the list view. task-3557566 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects a test oversight that was missed during a previous code update in the stock barcode module. The fix ensures that automated tests run correctly and reliably, helping maintain the quality and stability of the barcode scanning functionality.
Original PR description
This commit fixes an oversight in the forward-port of https://github.com/odoo/enterprise/pull/59342, see comment https://github.com/odoo/enterprise/pull/59342#pullrequestreview-1966528450 opw-3746608
This update replaces deprecated timezone references across multiple Odoo modules with current, supported alternatives. This ensures the system remains compatible with modern timezone standards and prevents potential issues from using outdated timezone definitions.
Original PR description
Continuation of #59440
This update fixes failing tests in the Australian tax reporting module. The tests were not working properly because the tax codes being tested were inactive. The fix activates these tax codes so the tests can run correctly and verify the tax report functionality.
Original PR description
The tests were failing because the TPAR report was working correctly beause all TPAR taxes were inactive. They need to be set active before using. Task# 3782518
We removed unnecessary supplier data from Peru's electronic delivery guide format that was being included for a transport type we don't support. This cleanup ensures our system stays compliant with Peru's latest validation rules and prevents potential errors when processing delivery documents.
Original PR description
The SellerSupplierParty data was initially included for transport reason '13', but recent validations show it is only necessary for transport reasons '02' and '07', which we do not support. Removed these fields to prevent data redundancy and potential errors. Before: - Included SellerSupplierParty data for transport reason '13'. After: - Removed SellerSupplierParty data from DespatchAdvice template. This change ensures compliance with the latest validation rules and reduces unnecessary XML data. Legal Reference:  https://cpe.sunat.gob.pe/sites/default/files/inline-files/ValidacionesGREv20221020_publicacion.xlsx Latam Task: https://latam-localizations.odoo.com/web#id=1203&menu_id=142&cids=1&action=188&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#62651
This fix corrects a configuration error in the Subscriptions app where the payment token field had an improperly formatted setting that caused errors when editing it through the Studio customization tool. The setting value is now properly formatted as a boolean, allowing users to edit payment token fields without encountering errors.
Original PR description
Before this commit:
The sale_subscription_order_form XML view had a key-value pair of {'no_create': 'True'} on the field for a payment_token. The proper value should be True without quotation marks, otherwise a invalid prop error is thrown when you attempt to edit the payment_token field via studio in the Subscriptions app.
opw-3891923This fix corrects the display size of PIN entry buttons in the employee attendance kiosk mode. The buttons were appearing too large due to a CSS styling conflict with the website module. The fix restores the proper button sizing so employees can easily enter their PIN during manual identification.
Original PR description
Steps to reproduce: - Install attendance and website - Toggle "Employee PIN Identification" in Settings - Open "Attendances" - Kiosk Mode - Identify Manually and click on an employee Issues: The button for the pin code are too big, this is due to the CSS change in website module for the 'btn-lg' class. https://github.com/odoo/odoo/blob/71227dbc4848c7c27c61e477a78b35e0c0167b8e/addons/website/static/src/scss/website.scss#L576-L594 As a solution I added the styling to the `o_hr_attendance_PINbox_button` class, such that we keep the original styling. https://github.com/odoo/odoo/blob/71227dbc4848c7c27c61e477a78b35e0c0167b8e/addons/web/static/lib/bootstrap/dist/css/bootstrap.css#L3462-L3466 opw-3864816
TPAR taxes have been deactivated by default in the Australian localization module because they are rarely used and clutter the tax selection interface. This change makes it easier for users to find and select the taxes they actually need when setting up accounting configurations.
Original PR description
TPAR is not commonly used and makes it difficult to search for taxes in Many2one fields. This commits sets them to inactive by default. Task# 3782518 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 fix corrects the file extension of the GitHub issue template configuration from an incorrect format to the proper .yml format. This ensures GitHub can correctly recognize and process the issue template configuration, maintaining proper automation and workflow functionality.
This update removes an extra closing curly brace that was causing a syntax error in the CRM team views configuration file. The erroneous character was preventing the system from properly parsing the context field, which could lead to functionality issues in the CRM module. This fix ensures the configuration file is properly formatted and the CRM module functions correctly.
Original PR description
I found in the CRM view crm_team_views.xml on line 82 an extra closing curly brace in the value of the context. Each opening tag/brace must have only one closing tag/brace. In our case it was a curly brace which must be removed to avoid syntax errors. This PR is made after a similar one for 17.0 branch which has the same issue and I was advised by @reth-odoo to make the PR for the first branch containing the bug. The previous PR URL for 17.0: [https://github.com/odoo/odoo/pull/164461](https://github.com/odoo/odoo/pull/164461) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#165717
This update removes the use of an outdated timestamp function (utcfromtimestamp) from Odoo's automation and file handling systems. The change ensures the system uses more reliable and modern date/time handling methods, improving code stability and future compatibility.
Original PR description
First commit: Doesn't look like an issue since it is a fallback in case `action.last_run` is not set Second commit: to verify Forward-Port-Of: odoo/odoo#165735
A typo in the fullscreen exit message was corrected, changing "string" back to "screen". Additionally, the text escaping function was updated to display the message correctly. This ensures users see the proper exit fullscreen instructions without formatting issues.
Original PR description
With the conversion of inline templates in [1], a typo was introduced that changed "screen" to "string". This commit fixes that typo and updates the .pot file. Also, the `escape` function used was changed to the correct one. [1] 5700cc65b614b0db0f73b6704fe2fad44b62d2d3 Forward-Port-Of: odoo/odoo#165442 Forward-Port-Of: odoo/odoo#164893
This update enhances error reporting for the Egyptian localization drivers by capturing and logging complete error details instead of just error messages. This improvement helps support teams diagnose and resolve issues more quickly by providing full context when problems occur in the IoT system.
Original PR description
Before this commit: l10nEGDrivers errors can be ambiguous as we only receive the error string. After this commit: The full traceback alongside an error message is logged in the IoT opw-3915843 Forward-Port-Of: odoo/odoo#165726