Commit 8ad37760 authored by Yusei Tahara's avatar Yusei Tahara

Fix a bug. Message id was wrong.

parent 693043f4
...@@ -84,7 +84,7 @@ class AccountingTransactionBalanceConstraint(ConstraintMixin): ...@@ -84,7 +84,7 @@ class AccountingTransactionBalanceConstraint(ConstraintMixin):
precision = section_currency.getQuantityPrecision() precision = section_currency.getQuantityPrecision()
if round(total, precision) != 0: if round(total, precision) != 0:
error_list.append(self._generateError(obj, self._getMessage( error_list.append(self._generateError(obj, self._getMessage(
'message_transaction_not_balanced_for_source'), 'message_transaction_not_balanced_for_destination'),
mapping=dict(section_title=section.getTranslatedTitle()))) mapping=dict(section_title=section.getTranslatedTitle())))
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment