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:
parent
2a2ff721c1
commit
0a165c5b93
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue