commit | 3380dc5deaac8df145f424153254466b35ddd02b | [log] [tgz] |
---|---|---|
author | anandbaburajan <anandbaburajan@gmail.com> | Sat Feb 04 11:20:26 2023 +0530 |
committer | anandbaburajan <anandbaburajan@gmail.com> | Sat Feb 04 11:20:26 2023 +0530 |
tree | 9f077c16e3708ecec22d5ca102ffdf3914a08e88 | |
parent | bb424965eebfa0538e0d60d18fc9e7e960bc3a2d [diff] |
chore: use continue, not break
diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index 4ff4428..4f7d9ad 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py
@@ -713,7 +713,7 @@ 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