diff --git a/l10n_ar_currency_update/models/res_company.py b/l10n_ar_currency_update/models/res_company.py index d4cfcd270..305112239 100644 --- a/l10n_ar_currency_update/models/res_company.py +++ b/l10n_ar_currency_update/models/res_company.py @@ -96,7 +96,7 @@ def _parse_afip_data(self, available_currencies): self.env.company = env_company except Exception as e: self.env.company = env_company - _logger.log(25, "Could not get rate for currency %s. This is what we get:\n%s", currency.name, e) + _logger.log(25, "Could not get rate for currency %s. This is what we get: %s", currency.name, e) else: for company in self.filtered(lambda x: x.currency_provider == 'afip'): company.l10n_ar_last_currency_sync_date = fields.Date.context_today(self.with_context(tz='America/Argentina/Buenos_Aires'))