mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 03:45:08 +00:00
packing list issue fixed
This commit is contained in:
@@ -537,7 +537,8 @@ class DocType(TransactionBase):
|
||||
# mark for deletion from doclist
|
||||
delete_list.append(d.name)
|
||||
|
||||
if not delete_list: return
|
||||
if not delete_list:
|
||||
return obj.doclist
|
||||
|
||||
# delete from doclist
|
||||
obj.doclist = filter(lambda d: d.name not in delete_list, obj.doclist)
|
||||
|
||||
Reference in New Issue
Block a user