Tweaks to order form template etc., for purchasing batch

This commit is contained in:
Lance Edgar 2017-01-25 11:15:17 -06:00
parent c2a189cb40
commit 732681b545
2 changed files with 5 additions and 3 deletions

View file

@ -366,6 +366,7 @@ class PurchaseBatchView(BatchMasterView):
if batch.mode == self.enum.PURCHASE_BATCH_MODE_ORDERING:
del g.cases_received
del g.units_received
del g.has_credits
del g.invoice_total
elif batch.mode in (self.enum.PURCHASE_BATCH_MODE_RECEIVING,
self.enum.PURCHASE_BATCH_MODE_COSTING):