From 8c26b632fec4d6ec2e7a3ce8de1b9298b4a6826a Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 20 Sep 2018 16:15:45 -0500 Subject: [PATCH] Only show mobile "quick receive" buttons if product is identifiable --- tailbone/templates/mobile/receiving/view_row.mako | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone/templates/mobile/receiving/view_row.mako b/tailbone/templates/mobile/receiving/view_row.mako index f09fec34..53d8820f 100644 --- a/tailbone/templates/mobile/receiving/view_row.mako +++ b/tailbone/templates/mobile/receiving/view_row.mako @@ -85,7 +85,8 @@ ${h.hidden('cases')} ${h.hidden('units')} - % if quick_receive: + ## only show quick-receive if we have an identifiable product + % if quick_receive and instance.product: % if quick_receive_all: % elif allow_cases: