From 0a165c5b93b29495ac4e4fb3dab2a7c5fb69b1ae Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 22 Feb 2018 11:19:33 -0600 Subject: [PATCH] Don't set order date for new ordering batch when created via mobile that really should be set upon batch execution instead --- tailbone/views/purchasing/ordering.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tailbone/views/purchasing/ordering.py b/tailbone/views/purchasing/ordering.py index 69346928..332003d1 100644 --- a/tailbone/views/purchasing/ordering.py +++ b/tailbone/views/purchasing/ordering.py @@ -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)