Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[ADD] account_index_based_currency: Hold the rates of the currency involved in an invoice at validation & agreement time. #1318

Closed josemoralesp closed 5 years ago

josemoralesp commented 5 years ago

Hello @hbto

I've added some changes.

1) I changed the way the _get_conversion_rate method is called because it works differently in this version. 2) The method _convert does not exist in this version. I've used the compute method instead. 3) I am using the context to get the rate using a specific date.

Do you agree with these changes?

hbto commented 5 years ago

@josemoralesp I do agree