Commit fcd25537 authored by Arnaud Fontaine's avatar Arnaud Fontaine

'condition' is defined within AccountingTransactionConstraint Property

Sheet for AccountingTransactionConstraint but was never checked


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40895 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4a47d91
......@@ -44,6 +44,9 @@ class AccountingTransactionBalance(Constraint):
def checkConsistency(self, obj, fixit=0):
"""Implement here the consistency checker
"""
if not self._checkConstraintCondition(obj):
return []
error_list = []
source_sum = dict()
destination_sum = dict()
......
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