mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
added customer get_query to allow search based on customer name. also don't show name again if id naming is based on customer name and not series
This commit is contained in:
@@ -273,7 +273,7 @@ class DocType:
|
||||
self.exc_list = []
|
||||
for sle in sll:
|
||||
# block if stock level goes negative on any date
|
||||
if val_method != 'Moving Average' or flt(allow_negative_stock) == 0:
|
||||
if (val_method != 'Moving Average') or (cint(allow_negative_stock) == 0):
|
||||
if self.validate_negative_stock(cqty, sle):
|
||||
cqty += sle['actual_qty']
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user