fix: linter
This commit is contained in:
parent
fa1378dd49
commit
5ff471e22f
@ -43,9 +43,12 @@ class PickList(Document):
|
||||
for item in self.locations:
|
||||
# if the user has not entered any picked qty, set it to stock_qty, before submit
|
||||
if item.picked_qty < item.stock_qty:
|
||||
frappe.throw(_("Row {0} is short by {1} {2}").format(
|
||||
item.idx, item.stock_qty - item.picked_qty, item.stock_uom
|
||||
), title=_("Pick List Incomplete"))
|
||||
frappe.throw(
|
||||
_("Row {0} is short by {1} {2}").format(
|
||||
item.idx, item.stock_qty - item.picked_qty, item.stock_uom
|
||||
),
|
||||
title=_("Pick List Incomplete"),
|
||||
)
|
||||
|
||||
if item.sales_order_item:
|
||||
# update the picked_qty in SO Item
|
||||
|
Loading…
x
Reference in New Issue
Block a user