Refactor usage of get_vendor()
lookup
This commit is contained in:
parent
2f5de67ee7
commit
f2c73acd3b
2 changed files with 5 additions and 8 deletions
|
@ -476,11 +476,6 @@ class PurchasingBatchView(BatchMasterView):
|
|||
return [(v.uuid, "({}) {}".format(v.id, v.name))
|
||||
for v in vendors]
|
||||
|
||||
def get_vendor_values(self):
|
||||
vendors = self.get_vendors()
|
||||
return [(v.uuid, "({}) {}".format(v.id, v.name))
|
||||
for v in vendors]
|
||||
|
||||
def get_buyers(self):
|
||||
return self.Session.query(model.Employee)\
|
||||
.join(model.Person)\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue