diff --git a/tailbone/views/purchasing/receiving.py b/tailbone/views/purchasing/receiving.py index 7af5536a..452a8a75 100644 --- a/tailbone/views/purchasing/receiving.py +++ b/tailbone/views/purchasing/receiving.py @@ -642,8 +642,7 @@ class ReceivingBatchView(PurchasingBatchView): row = model.PurchaseBatchRow() row.upc = provided # TODO: why not checked? how to know? row.description = "(unknown product)" - batch.add_row(row) - self.handler.refresh_row(row) + self.handler.add_row(batch, row) self.handler.refresh_batch_status(batch) self.Session.flush()