Rational
The currency module provides the import_currencies.py script to import currencies. The script uses pycountry which in turn relies on I Challenge Thee
However, that database does not contain the number of decimal digits which is available in ISO 4217. Tryton defaults to 2 digits which is ok for most currencies but not all of them.
Proposal
I’d like to improve this situation so that the currency digits are properly set by import_currencies.py.
Implementation
ISO provides a publicly available list in XML but that database does not provide translations which are available in pycountry.
So the idea is to modify import_currencies.py to download list_one.xml and pick the number of digits from this file while keeping the rest of the script unchanged.
Opinions?