Let custom inventory batch view override logic for mobile UPC scanning
This commit is contained in:
parent
eefc3b33d7
commit
04d1e303be
2 changed files with 39 additions and 21 deletions
|
@ -11,7 +11,10 @@
|
|||
if row.cases:
|
||||
uom = 'CS'
|
||||
elif row.units:
|
||||
uom = 'EA'
|
||||
if row.product and row.product.weighed:
|
||||
uom = 'LB'
|
||||
else:
|
||||
uom = 'EA'
|
||||
elif row.case_quantity:
|
||||
uom = 'CS'
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue