Thursday, July 18, 2024
13 changes · 17.0
Resolved issues and error corrections
Wire transfer now automatically restores its required payment method when the provider is re-enabled. This prevents customers from losing wire transfer as a checkout option after administrators disable and enable it again.
Original PR description
Steps to reproduce: 1) Install and enable wire transfer. 2) Disable and enable it again. 3) Go to the payment form and see that wire transfer is not in the list of available payment methods. Reason: No default payment method codes were defined to activate with the provider. opw-4042165
The mail activity filter now correctly returns records with no activities when users search for items where the activity assignee is not set. This prevents misleading filter results and keeps activity-based reporting consistent.
Original PR description
Introduced in 5f4add917a55f62c024a7a79c9240dc628a9f14f, we allowed filtering on 'done' activities. This induced a change in the search method of activity_user_id field, now readonly, to allow searching on done activities. As user_id is required on mail.activity, we can do as we do for the activity_date_dateline search method (date_dateline being required too on mail.activity): when using 'is not set' as a custom domain (~ '= False'), return records having no activities, and therefore no activity_user_id. A small test is added in test_mail Task-4027928
This fix ensures Odoo can process its configuration more than once without failing or behaving inconsistently. It improves reliability for internal startup and tooling scenarios where configuration needs to be re-read.
When creating a sales order line from a project form, the system now preserves the name entered by the user instead of replacing it with a default value. This prevents accidental loss of custom descriptions and keeps project-related sales records accurate.
Original PR description
This commit's purpose is to keep the user input when he creates an sol from the formview sol. Step to reproduce : - open project update - cilck on 'sols' stat button - click on 'new' to create a new sol - give a name 'youpi' to the sol - save the sol The name of the sol will be overwritten with a default one. Expected behavior: The name of the sol should be the one the user has set. Source of the problem: The name of sol is used for some computation in some use case when the form view of sol from the sale_project module is used. But this form view is also used in the use case where the name override is not needed. Solution: add a context key to differentiate the 2 use cases. task - 4031977 version : 17.0 - master 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 accounting EDI configuration area now stays hidden when it has no settings to show. This avoids displaying an empty section, making journal configuration screens cleaner and less confusing for users.
Original PR description
This commit will change the invisible condition on the group "group_edi_config" so that the group is not there if empty. task: 4028343 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Rewards linked to archived products are now hidden in Point of Sale loyalty flows. This prevents customers or staff from trying to claim rewards that cannot be fulfilled, avoiding checkout errors and support issues.
Original PR description
Before this commit, rewards associated with archived products were still accessible, leading to errors when attempting to claim them due to the non-existence of the reward product. opw-4055792 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The update corrects the permissions used by automated self-order tests so they can run successfully. This helps keep the point-of-sale self-ordering feature reliably tested without affecting customer-facing behavior.
Original PR description
Before this commit, the self test was failing because the user used to run the test didn't have the right access rights. This commit fixes the access rights for the user used to run the test. Rb error: 71576, 71757, 70420, 71598
The Belgian Point of Sale setup now avoids a startup error when a specific intra-community fiscal position is missing. This helps businesses keep their PoS available even if that optional tax configuration has not been installed or configured.
Original PR description
Before this commit, the absence of `fiscal_position_template_3` would result in an AttributeError, hindering the opening of the PoS. opw-4052324 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Saskatchewan tax report now includes the missing “Total before Sales” line. This helps Canadian businesses produce a more complete and accurate tax report for Saskatchewan filings.
Original PR description
Saskatchewan tax report was missing a line for `Total before Sales` opw-3955926
List views no longer show separator entries as optional fields when configuring displayed columns. This removes confusing choices that have no data value and prevents a related browser console warning.
Original PR description
Since https://github.com/odoo/odoo/issues/113974, Properties fields can contain separator (virtual `<group>`)
information inside its value. But in the view list, these separator can be selected in the optional fields. It doesn't make sense because there no value associated.
Also it avoids a warning in the JS console ("Missing widget: separator
for field of type separator").
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis fix corrects a guided tour step for the Field Service Management worksheet feature. Previously, the tour would advance without requiring users to fill in the worksheet name field as intended. The fix ensures the tour properly waits for user input before proceeding to the next step.
Original PR description
Steps to reproduce: - Start the tour and continue till the worksheet step - Click on worksheet stat button in the tour - Click on the worksheet name field Issue: - The tour continues. - An input fields needs to be inputted with something before moving on. Reason: - Incorrect configuration of trigger for this step Fix: - Re-target the trigger on input field and fix the run function task-3709542
This update improves how the balance sheet test handles database operations by reducing the number of temporary savepoints created during testing. Previously, the system created a new savepoint for each test iteration, which could exceed database limits and cause performance issues. Now it creates a single savepoint and reuses it, making tests run more efficiently.
Original PR description
Instead of calling `env.cr.savepoint()` in a loop, which will create a savepoint at every iteration, we should create a single savepoint and rollback to it at the end of every subtest. In Postgres, the number of sub-transactions that may exist in active transactions has a hard limit of 64 before sub-transactions are stored on disk. It's therefore best practice to limit the number of savepoints we create. See also https://github.com/odoo/odoo/pull/167236 Forward-Port-Of: odoo/enterprise#66322
This fix ensures the eTims button only appears on vendor bills when the company is based in Kenya. Previously, the button was showing for all countries, which could confuse users in other regions. This improves the user experience by hiding irrelevant features based on the company's location.
Original PR description
…bill