diff --git a/currency.py b/currency.py index e2a1ff9dea..9bd233de38 100644 --- a/currency.py +++ b/currency.py @@ -175,7 +175,7 @@ class Currency(ModelSQL, ModelView): if rates: res[currency.id] = rates[0].id else: - res[currency.id] = 0.0 + res[currency.id] = 0 rate_ids = [x for x in res.values() if x] rates = Rate.browse(rate_ids) id2rate = {}