Don't set order date for new ordering batch when created via mobile

that really should be set upon batch execution instead
This commit is contained in:
Lance Edgar 2018-02-22 11:19:33 -06:00
parent 2a2ff721c1
commit 0a165c5b93

View file

@ -301,7 +301,6 @@ class OrderingBatchView(PurchasingBatchView):
batch.vendor = vendor
batch.store = store
batch.buyer = self.request.user.employee
batch.date_ordered = localtime(self.rattail_config).date()
batch.created_by = self.request.user
batch.po_total = 0
kwargs = self.get_batch_kwargs(batch, mobile=True)