Fixed: Employees would not autocomplete.
This commit is contained in:
parent
218a1781a8
commit
1def5873bc
|
@ -199,7 +199,7 @@ class LedgerBase(Base):
|
||||||
return DBSession.query(cls).all()
|
return DBSession.query(cls).all()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def list(cls, type, name, reconcilable, active):
|
def list(cls, type, name, reconcilable=None, active=None):
|
||||||
query = DBSession.query(cls)
|
query = DBSession.query(cls)
|
||||||
if type is not None:
|
if type is not None:
|
||||||
if not isinstance(type, int):
|
if not isinstance(type, int):
|
||||||
|
|
Loading…
Reference in New Issue