diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-09-27 09:41:05 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-10-10 10:08:33 +0200 |
| commit | a1d6c2d6317fd3cbc9af0060c14e4281ce63e11f (patch) | |
| tree | 63b2ffdb8251606960365d470e44f3898f3e9fda /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | d3c4ab23e4d8df7cd1af61379ab6a0099f41182b (diff) | |
[FIX] account: check exchange rate
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 #13473
opw-688517
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
