Remove references to deprecated batch handler methods

This commit is contained in:
Lance Edgar 2017-05-18 11:57:30 -05:00
parent cb39ca7970
commit 242bcd7603
3 changed files with 5 additions and 5 deletions

View file

@ -494,7 +494,7 @@ class ProductsView(MasterView):
params['created_by'] = user
batch = handler.make_batch(session, **params)
batch.products = products.with_session(session).all()
handler.make_initial_rows(batch, progress=progress)
handler.populate(batch, progress=progress)
session.commit()
session.refresh(batch)