Skip to content

Commit

Permalink
removed semicolon for break statement
Browse files Browse the repository at this point in the history
  • Loading branch information
KrithiRamani committed Mar 15, 2022
1 parent 9f7fee7 commit e970616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/stock/doctype/pick_list/pick_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def create_delivery_note(source_name, target_doc=None):
for n in pick_list.locations :
if not n.sales_order:
is_item_wo_so = 1
break;
break
if is_item_wo_so == 1:
# Create a DN for items without sales orders as well
delivery_note = create_dn_wo_so(pick_list)
Expand Down Expand Up @@ -433,7 +433,7 @@ def create_dn_with_so(sales_dict,pick_list):
},
'condition': lambda doc: abs(doc.delivered_qty) < abs(doc.qty) and doc.delivered_by_supplier!=1
}
break;
break
if delivery_note:
# map all items of all sales orders of that customer
for so in sales_dict[customer]:
Expand Down

0 comments on commit e970616

Please sign in to comment.