diff --git a/currency_rate_update/model/currency_rate_update.py b/currency_rate_update/model/currency_rate_update.py index f565df592..3977fb455 100644 --- a/currency_rate_update/model/currency_rate_update.py +++ b/currency_rate_update/model/currency_rate_update.py @@ -187,7 +187,7 @@ class CurrencyRateUpdateService(models.Model): @api.multi def run_currency_update(self): # Update currency at the given frequence - services = self.search([('next_run', '=', fields.Date.today())]) + services = self.search([('next_run', '<=', fields.Date.today())]) services.with_context(cron=True).refresh_currency() @api.model