From d2fc02bf330ea5459cc739cc9ba071d03d92bb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 13:36:42 +0200 Subject: [PATCH] Use correct order for price decimal value in exception message --- ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.py b/ir.py index ef981fedd9..056177baa8 100644 --- a/ir.py +++ b/ir.py @@ -21,4 +21,4 @@ class Configuration(metaclass=PoolMeta): raise ValueError( "The price_decimal %s in [product] configuration section " "is different from the value %s in 'ir.configuration'." % ( - self.product_price_decimal, price_decimal)) + price_decimal, self.product_price_decimal))