Sunday, May 26, 2024
1 change · 17.0
Resolved issues and error corrections
This fix corrects how down payments are calculated when a sales order line includes fixed taxes with price-inclusive settings. Previously, the system was incorrectly calculating down payment amounts by including the fixed tax in the base calculation, resulting in amounts higher than requested. After this fix, down payments will be calculated correctly to match the exact amount specified.
Original PR description
Suppose a SO line of 1210 with: t1 fixed tax of 5, price include, affect base amount t2 21% price included tax Make a down payment of 200. The resulting created SO line is computed as (1210 + 5) * (200 / 1210) = 200.83 instead of 200.0. 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