Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An issue occurs in the following situation: - Define a currency exchange rate at day 1 and day 2 - Create an invoice at day 1, and calculate the taxes. Do not set an invoice date! - Validate the invoice at day 2 The exchange rate for taxes is the rate at day 1, while the exchange rate for other amounts is the rate at day 2. There is actually no way to know what was the rate applied for the taxes at invoice validation. There are two solutions: - recompute the taxes at validation - force the user to set an invoice date and recompute manually the taxes The first solution might have unexpected effects, therefore the second solution is applied. Fixes odoo#13473 opw-688517
- Loading branch information