Fix how we check config for mobile "quick receive" feature
at least hopefully this fixes it, and doesn't break anybody..
This commit is contained in:
parent
be49ca6967
commit
acd8c97afc
|
@ -1139,9 +1139,9 @@ class ReceivingBatchView(PurchasingBatchView):
|
|||
'quick_receive_all': False,
|
||||
}
|
||||
|
||||
if batch.order_quantities_known:
|
||||
context['quick_receive'] = self.rattail_config.getbool('rattail.batch', 'purchase.mobile_quick_receive',
|
||||
default=True)
|
||||
if batch.order_quantities_known:
|
||||
context['quick_receive_all'] = self.rattail_config.getbool('rattail.batch', 'purchase.mobile_quick_receive_all',
|
||||
default=False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue