Tuesday, November 11, 2025
2 changes · 17.0
Resolved issues and error corrections
The way on-hand stock is calculated has been adjusted when looking at a past date. This helps ensure inventory figures are more accurate in historical views and reports, which matters for tracking stock levels over time.
Original PR description
Modified the equation to calculate the qty on hand if date in the past. 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 reverts a previous adjustment in the accounting logic that validated whether accounts on journal items belong to the correct company. It helps restore the expected behavior in cases where the earlier check caused issues for users working across company records.
Original PR description
This reverts commit 8dbbdeffc5d9193b118f51254cb0cee0c98556b6. opw-5254611 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr