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