mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Merge pull request #2140 from nathando/patch-1
get_item_list does not [item qty=0]
This commit is contained in:
@@ -339,7 +339,7 @@ class SellingController(StockController):
|
|||||||
reserved_warehouse = ""
|
reserved_warehouse = ""
|
||||||
reserved_qty_for_main_item = 0
|
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))
|
frappe.throw(_("Row {0}: Qty is mandatory").format(d.idx))
|
||||||
|
|
||||||
if self.doctype == "Sales Order":
|
if self.doctype == "Sales Order":
|
||||||
|
|||||||
Reference in New Issue
Block a user