From 1def5873bc8b4bb78ccfacfb301c543496e5caf2 Mon Sep 17 00:00:00 2001 From: Tanshu Date: Thu, 3 Oct 2013 17:46:01 +0530 Subject: [PATCH] Fixed: Employees would not autocomplete. --- brewman/brewman/models/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brewman/brewman/models/master.py b/brewman/brewman/models/master.py index 254b723a..5cef21ce 100644 --- a/brewman/brewman/models/master.py +++ b/brewman/brewman/models/master.py @@ -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):