I have installed the currency_rate_update module in Odoo 8.0 in view of setting up Odoo to automatically download the CAD / USD exchange rate each day. I have set the CAD currency in the Accounting Menu to be the base currency with a rate of 1.0000. Under Companies > My Company > Currency Update Configuration i have set the webservice to use as Bank of Canada, a frequency of 1 day. Then i added the USD currency as the only currency to update using this service. I have checked the "Automatic Update" box. Now, if i click "Refresh Currencies" the exchange rate for today is pulled in and saved as expected. What is not working is the automatic part. I have had the module configured like this for several weeks - but it has never successfully done an automatic update. Only the manual refresh currency rates are in my database.
I have also looked under Settings > Technical > Automation > Scheduled Actions > Currency Rate Update. The "Next Execution Date is incrementing from day to day.....
Is there a log saved somewhere to show why the automatic update is failing? I looked in the /var/odoo/odoo-server.log but do not see anything related to currency updates.
Thanks for your help!
You have to set the next_run field with the next day value, and the cron will get the service as "To be Updated" and will fetch the rates plus will change the next run with the values from Interval and Interval Period. When the rates are updated or get an error you will see the log on the service form view in Notes fields, otherwise you will have to put the log-level to debug to see the error in the logfile.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/31/14, 11:50 AM|
|Seen: 3033 times|
|Last updated: 4/10/16, 12:31 PM|