diff --git a/erpnext/controllers/buying_controller.py b/erpnext/controllers/buying_controller.py index 7a6ff6c0889..8da22785b94 100644 --- a/erpnext/controllers/buying_controller.py +++ b/erpnext/controllers/buying_controller.py @@ -745,7 +745,6 @@ class BuyingController(SubcontractingController): def auto_make_assets(self, asset_items): items_data = get_asset_item_details(asset_items) messages = [] - alert = False accounting_dimensions = get_dimensions(with_cost_center_and_project=True) for d in self.items: