Wednesday, January 26, 2022
3 changes · master
Resolved issues and error corrections
This change ensures the reversal date chosen in the accrued orders wizard is kept when accounting entries are created. It prevents the date from being reset to a default value, helping users avoid inconsistent or incorrect reversal entries.
Original PR description
Before this commit, the field reversal_date was not stored, which lead to inconsistent behaviour when creating entries, as the reversal date was always recompute with the default value. opw-2722435 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 change makes automated test cleanup more reliable when multiple builds create databases at the same time. It reduces random test failures in the runbot environment, helping developers get clearer feedback from builds without affecting everyday users.
Original PR description
On runbot database can be create concurently by other builds, meaning that the teardown may fail randomly if a database is create between setup and teardown. Filtering on the dbfilter in all case may miss some errors but will be enough in this case.
A small issue was corrected that could cause an error when users selected a disallowed expense from the chart of accounts. This helps keep accounting workflows smoother and prevents an unnecessary interruption during account setup or review.
Original PR description
This fixes a small bug in the `name_get()` method that was causing a traceback when selecting a disallowed expenses from the chart of accounts. Related: https://github.com/odoo/enterprise/commit/5be63b1c735a0b30cca166d2f7f4b97b4330439e