packing list issue fixed
This commit is contained in:
parent
41c922d200
commit
18b9eccdfa
@ -537,7 +537,8 @@ class DocType(TransactionBase):
|
|||||||
# mark for deletion from doclist
|
# mark for deletion from doclist
|
||||||
delete_list.append(d.name)
|
delete_list.append(d.name)
|
||||||
|
|
||||||
if not delete_list: return
|
if not delete_list:
|
||||||
|
return obj.doclist
|
||||||
|
|
||||||
# delete from doclist
|
# delete from doclist
|
||||||
obj.doclist = filter(lambda d: d.name not in delete_list, obj.doclist)
|
obj.doclist = filter(lambda d: d.name not in delete_list, obj.doclist)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user