Fixed: Employees would not autocomplete.

This commit is contained in:
Tanshu 2013-10-03 17:46:01 +05:30
parent 218a1781a8
commit 1def5873bc
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class LedgerBase(Base):
return DBSession.query(cls).all()
@classmethod
def list(cls, type, name, reconcilable, active):
def list(cls, type, name, reconcilable=None, active=None):
query = DBSession.query(cls)
if type is not None:
if not isinstance(type, int):