Reviewers: ,
Please review this at http://codereview.tryton.org/187001/ Affected files: M tryton/client.py Index: tryton/client.py =================================================================== --- a/tryton/client.py +++ b/tryton/client.py @@ -13,6 +13,13 @@ import logging from urlparse import urlparse import threading +try: + import cdecimal + # Use cdecimal globally + if 'decimal' not in sys.modules: + sys.modules["decimal"] = cdecimal +except ImportError: + pass from tryton import version from tryton import config -- [email protected] mailing list
