Daily updates from Odoo
Tuesday, October 22, 2024
11 changes · 18.0
Resolved issues and error corrections
This fixes an issue where some customer or vendor contact information used by the accounting print-and-send flow was not always calculated correctly. It helps ensure documents are prepared with the right partner details, reducing errors in outgoing accounting communications.
Original PR description
With the last refactor of the Print & Send we added some non-stored fields, which are not correctly computed. task-no
This update simplifies the documentation shown in Studio for character field options by removing confusing placeholder-related options. Business users benefit from clearer configuration choices and less risk of selecting options that are only useful in specialized template or report scenarios.
Original PR description
Since dynamic_placeholder option was confusing in studio, compared to the recently added placeholder_field option. And due to the poor usage and confusion it makes besides mail templates or reports, we decided to remove documentation for those options, and keep only the option that makes sense. task-3901821
This fix updates automated point-of-sale test journeys so pop-up windows are handled consistently before the next step runs. It helps reduce false test failures and improves confidence in point-of-sale, loyalty, and restaurant workflows without changing the customer-facing product.
Original PR description
In this commit, we make sure to either close the modal before continuing the tour (so that the following steps are not done with an open modal) or to make it explicit that the modal is open in the current step.
This fix prevents crashes when creating or opening Indian withholding tax records that do not yet have all fields filled in. It also avoids errors when the withholding wizard is opened without selected records, making the workflow more reliable for users.
Original PR description
Added a check for `tax_source_type` and in the `_compute_display_name` method to handle cases where these fields may be `False` for new records. This prevents errors caused by calling `upper()` on a `False` value. Added a check on active_ids to prevent calling `len()` on empty value
This fix updates purchase order tests so delivery term information is set in the right place, avoiding dependency on fields only shown by another module. It helps keep automated checks reliable without changing day-to-day purchasing workflows.
Original PR description
The incorterm_id fields is defined in `purchase` but visible in the form view in `purchase_stock` module. In order to use it in test. We fill them outside the `Form` wrapper. `incorterm_location` is defined in `purchase_stock` thus is removed. runbot: 75128 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 subcontracting portal page now provides enough viewing space for purchase order details. This makes it easier for users to review subcontracting information without struggling with a cramped display.
Original PR description
Prior to this commit, the portal view height was very small that users could not see purchase orders details easily. This commit fixes that issue. closes odoo/odoo#181390 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 prevents an incorrect session expiration message from appearing when someone signs a document without logging in. It ensures the system correctly treats missing user information as an anonymous user, avoiding confusing access errors after signing.
Original PR description
Versions: ------------ 18.0 Steps to Reproduce: ---------------------------- 1. Send user's document for sign. 2. Now sign the document without login 3. you will get access right error, after signing Issue: ---------- session expiration popup appears unexpectedly. Cause: ------------ due to recent improvements, the userId is not being retrieved as expected null is being retrieved instead of false. Solution: ------------ pass uid false if there nothing found. task-4178827
The accounting reports menu now correctly disables the XML and Copy to Documents buttons when users have not selected the full company and branch hierarchy. This prevents actions from being taken on incomplete report scopes, reducing confusion and avoiding incorrect document exports.
Original PR description
After [this refactoring] a regression occurred. Where previously the "XML" and "Copy to Documents" buttons were disabled when we didn't have the whole hierarchy of a company with its branches selected, it is not anymore. This commit fixes that. [task-4260501](https://www.odoo.com/odoo/all-tasks/4260501) [this refactoring]: https://github.com/odoo/enterprise/commit/1ea5dc3227913826a205b164c19e4771babc3326
Odoo Studio now shows the newer dynamic placeholder setting for text fields in a clearer way, reducing confusion when configuring forms. This helps users choose the right placeholder behavior without seeing an option that only worked in limited cases.
Original PR description
This commit changes the way we display placeholder options for the CharField when being selected by studio. Previously, it was confusing to edit the dynamic_placeholder option, which needs another option to work properly, and which don't make much sense in most cases. Instead, we choose to support only the recently added placeholder_field option, and to name it Dynamic Placeholder in the sidebar. task-3901821
This update fixes incorrect codes used for Group S work entry types in Belgian payroll. Correct codes help ensure payroll entries are classified properly for reporting and processing.
Original PR description
The groups s codes for work entry types were wrong. this commit adds the right codes for the work entry types. task-4221186
This fixes incorrect debit and credit amounts when viewing accounting reports across companies with different currencies. The report now keeps the correct date context so currency conversion rates are applied properly, improving accuracy for multi-company financial reporting.
Original PR description
Steps to reproduce: - have two companies with different main currencies - have currency rates != 1 for the selected main company - open the trial balance with both companies selected => The amounts displayed in Debit and Credit column from the first company are not converted to the main company currency. Reason of the issue: The general ledger custom code rewrite the options 'date_from' to the fiscal year date from, which results in a Null join with the account_currency_table