[IMP] base: use a generic warning message

l10n_mx_edi is a specific enterprise module
amount_to_text may be used in different modules (e.g. account_check_printing)
This commit is contained in:
Martin Trigaux
2018-09-24 09:58:21 +02:00
parent 1d79bf0273
commit 19523ea21b
+1 -1
View File
@@ -14,7 +14,7 @@ _logger = logging.getLogger(__name__)
try:
from num2words import num2words
except ImportError:
_logger.warning("The num2words python library is not installed, l10n_mx_edi features won't be fully available.")
_logger.warning("The num2words python library is not installed, amount-to-text features won't be fully available.")
num2words = None
CURRENCY_DISPLAY_PATTERN = re.compile(r'(\w+)\s*(?:\((.*)\))?')