mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
chore: use continue, not break
This commit is contained in:
@@ -713,7 +713,7 @@ class BuyingController(SubcontractingController):
|
||||
asset.supplier = self.supplier
|
||||
elif self.docstatus == 2:
|
||||
if asset.docstatus == 2:
|
||||
break
|
||||
continue
|
||||
if asset.docstatus == 0:
|
||||
asset.set(field, None)
|
||||
asset.supplier = None
|
||||
|
||||
Reference in New Issue
Block a user