Merge branch 'develop' into common-party-acc

This commit is contained in:
Saqib
2021-08-24 17:27:43 +05:30
committed by GitHub
40 changed files with 441 additions and 212 deletions

View File

@@ -1896,6 +1896,11 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil
for d in data:
new_child_flag = False
if not d.get("item_code"):
# ignore empty rows
continue
if not d.get("docname"):
new_child_flag = True
check_doc_permissions(parent, 'create')