changeset eb7ee33af204 in modules/product:5.8
details: https://hg.tryton.org/modules/product?cmd=changeset&node=eb7ee33af204
description:
        Use correct order for price decimal value in exception message
        (grafted from 3ffee4b9f6d63815ebf4a28a59b48f298fe33d1b)
diffstat:

 ir.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (9 lines):

diff -r bb110b7726fb -r eb7ee33af204 ir.py
--- a/ir.py     Fri Apr 16 19:34:21 2021 +0200
+++ b/ir.py     Sat Apr 10 13:36:42 2021 +0200
@@ -21,4 +21,4 @@
             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))

Reply via email to