Merge pull request #2140 from nathando/patch-1
get_item_list does not [item qty=0]
This commit is contained in:
commit
fa18e7c21f
@ -339,7 +339,7 @@ class SellingController(StockController):
|
||||
reserved_warehouse = ""
|
||||
reserved_qty_for_main_item = 0
|
||||
|
||||
if not d.qty:
|
||||
if d.qty is None:
|
||||
frappe.throw(_("Row {0}: Qty is mandatory").format(d.idx))
|
||||
|
||||
if self.doctype == "Sales Order":
|
||||
|
Loading…
x
Reference in New Issue
Block a user