Merge pull request #2140 from nathando/patch-1

get_item_list does not [item qty=0]
This commit is contained in:
Nabin Hait 2014-09-09 12:06:21 +05:30
commit fa18e7c21f

View File

@ -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":