Fix money format
authorscompo <scompo@gmail.com>
Tue, 7 Aug 2018 16:11:34 +0000 (16:11 +0000)
committerscompo <scompo@gmail.com>
Tue, 7 Aug 2018 16:11:34 +0000 (16:11 +0000)
Fixes #14

money/money.py

index 55ebfc9e733d44dc88497c90874959e5aa6b838b..528be42a58230e4c48faa0466fc8f40ccdba9292 100755 (executable)
@@ -49,7 +49,7 @@ def create_input_message(field_name, field_format, field_default_value):
 TYPE_MESSAGE = create_input_message(TYPE_FIELD_NAME, '+/-', '-')
 DATE_MESSAGE = create_input_message(DATE_FIELD_NAME, 'DD/MM/YYYY', _('today'))
 HOUR_MESSAGE = create_input_message(HOUR_FIELD_NAME, 'HH:MM', _('now'))
-VALUE_MESSAGE = create_input_message(VALUE_FIELD_NAME, '(#####.##)', '')
+VALUE_MESSAGE = create_input_message(VALUE_FIELD_NAME, '#####.##', '')
 DESCRIPTION_MESSAGE = create_input_message(DESCRIPTION_FIELD_NAME, '', '')