mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
save packing list after cleanup
This commit is contained in:
@@ -517,6 +517,7 @@ class DocType(TransactionBase):
|
|||||||
for d in getlist(obj.doclist, 'packing_details'):
|
for d in getlist(obj.doclist, 'packing_details'):
|
||||||
if [d.parent_item, d.parent_detail_docname] not in parent_items:
|
if [d.parent_item, d.parent_detail_docname] not in parent_items:
|
||||||
d.parent = ''
|
d.parent = ''
|
||||||
|
d.save()
|
||||||
|
|
||||||
|
|
||||||
# Get total in words
|
# Get total in words
|
||||||
|
|||||||
Reference in New Issue
Block a user