sale-workflow icon indicating copy to clipboard operation
sale-workflow copied to clipboard

[FIX] sale_order_currency_rate : Change curency_rate calculation

Open dalonsofl opened this issue 6 months ago • 2 comments

Module

sale_order_currency_rate

Describe the bug

The currency rate applied is not correct and the value in report is incorrect too

To Reproduce

  1. Create a sale order and confirm
  2. Check the value in sale report

(image from runboat OCA)

image

Captura desde 2024-08-02 16-01-00

Instead of divining by the unit per USD is using the USD per unit and the value is incorect. Because this reason, the best option is using the base odoo calculation of currency_rate.

image

Affected versions:

16.0

dalonsofl avatar Aug 02 '24 14:08 dalonsofl